<?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-4365412567138696770</id><updated>2024-08-30T02:34:58.760-07:00</updated><category term="PHP"/><category term="Blogger"/><category term="GD"/><category term="RSS"/><category term="Windows Server 2008"/><category term="線上工具"/><category term="ASP"/><category term="Access"/><category term="Apache"/><category term="Facebook"/><category term="IIS"/><category term="IIS7"/><category term="JavaScript"/><category term="Lightbox"/><category term="MySQL"/><category term="Pyhton"/><category term="SQLServer"/><category term="VirtualBox"/><category term="WordPress"/><category term="XAMPP"/><category term="Youtube"/><category term="jQuery"/><category term="phpMyAdminm"/><category term="正規表達式"/><category term="網頁擷取"/><title type='text'>大衛學 ...</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-8985017222961765132</id><published>2019-07-18T00:11:00.000-07:00</published><updated>2019-07-18T00:11:10.774-07:00</updated><title type='text'>Facebook粉絲專頁嵌入貼文測試</title><content type='html'>&lt;iframe allow=&quot;encrypted-media&quot; allowtransparency=&quot;true&quot; frameborder=&quot;0&quot; height=&quot;534&quot; scrolling=&quot;no&quot; src=&quot;https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fdessert4u.tw%2Fposts%2F613273959160977&amp;amp;width=500&quot; style=&quot;border: none; overflow: hidden;&quot; width=&quot;500&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/8985017222961765132/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2019/07/facebook.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/8985017222961765132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/8985017222961765132'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2019/07/facebook.html' title='Facebook粉絲專頁嵌入貼文測試'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-7051861556849468582</id><published>2015-03-25T07:44:00.000-07:00</published><updated>2015-03-25T07:44:04.513-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access"/><category scheme="http://www.blogger.com/atom/ns#" term="ASP"/><category scheme="http://www.blogger.com/atom/ns#" term="IIS"/><category scheme="http://www.blogger.com/atom/ns#" term="IIS7"/><category scheme="http://www.blogger.com/atom/ns#" term="SQLServer"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server 2008"/><title type='text'>[工作記錄] SQLServer 架設及 ASP 轉移相關筆記</title><content type='html'>&lt;h2&gt;
ASP 資料庫相關連線字串&amp;nbsp;&lt;/h2&gt;
(Dreamweaver)&lt;br /&gt;
&lt;a href=&quot;https://helpx.adobe.com/tw/dreamweaver/using/database-connections-asp-developers-cs6.html&quot; target=&quot;_blank&quot;&gt;https://helpx.adobe.com/tw/dreamweaver/using/database-connections-asp-developers-cs6.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
大致整理可以使用以下二種：&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;MM_connUSE_STRING = &quot;Driver={SQL Server};Server=SERVER\SQLEXPRESS;Database=資料庫名稱;UID=sa;PWD=密碼&quot;&lt;/li&gt;
&lt;li&gt;MM_connUSE_STRING = &quot;PROVIDER=SQLOLEDB;DATA SOURCE=SERVER\SQLEXPRESS;UID=sa;PWD=密碼;DATABASE=資料庫名稱&quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
ACCESS 轉 SQLServer 調整&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://tw.knowledge.yahoo.com/question/question?qid=1405111314163&quot; target=&quot;_blank&quot;&gt;MSSQLSERVER &amp;amp; ACCESS 欄位轉換問題 - 備忘欄位、日期時間&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.dotblogs.com.tw/chou/archive/2009/05/31/8607.aspx&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.dotblogs.com.tw/chou/archive/2009/05/31/8607.aspx&quot; target=&quot;_blank&quot;&gt;[SQL]設定自動編號&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.dotblogs.com.tw/orhuang/archive/2011/01/18/20871.aspx&quot; target=&quot;_blank&quot;&gt;[SQL] 欄位的預設值&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.dotblogs.com.tw/jain/archive/2011/06/07/27257.aspx&quot; target=&quot;_blank&quot;&gt;SQL 2008-防止儲存需要資料表重建的變更&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
IIS7 調整&lt;/h2&gt;
&lt;a href=&quot;http://maxtellyou.blogspot.tw/2011/10/iis-70.html&quot; target=&quot;_blank&quot;&gt;IIS 7.0 設定顯示詳細錯誤訊息 (HTTP 500 - 內部伺服器錯誤)&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/7051861556849468582/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2015/03/sqlserver-asp.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/7051861556849468582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/7051861556849468582'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2015/03/sqlserver-asp.html' title='[工作記錄] SQLServer 架設及 ASP 轉移相關筆記'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-309501829687930730</id><published>2015-01-14T02:01:00.001-08:00</published><updated>2015-01-14T02:01:46.603-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apache"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="XAMPP"/><title type='text'>[XAMPP] XAMPP 常見問題</title><content type='html'>&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.7900009155273px;&quot;&gt;
Apache錯誤提示&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.7900009155273px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.7900009155273px;&quot;&gt;
10:33:43 [Apache] Problem detected!&lt;br /&gt;10:33:43 [Apache] Port 80 in use by &quot;Unable to open process&quot; with PID 4!&lt;br /&gt;10:33:43 [Apache] Apache WILL NOT start without the configured ports free!&lt;br /&gt;10:33:43 [Apache] You need to uninstall/disable/reconfigure the blocking application&lt;br /&gt;10:33:43 [Apache] or reconfigure Apache and the Control Panel to listen on a different port&lt;br /&gt;10:33:43 [Apache] Problem detected!&lt;br /&gt;10:33:43 [Apache] Port 443 in use by &quot;&quot;C:\Program Files (x86)\VMware\VMware Workstation\vmware-hostd.exe&quot; -u &quot;C:\ProgramData\VMware\hostd\config.xml&quot;&quot; with PID 5728!&lt;br /&gt;10:33:43 [Apache] Apache WILL NOT start without the configured ports free!&lt;br /&gt;10:33:43 [Apache] You need to uninstall/disable/reconfigure the blocking application&lt;br /&gt;10:33:43 [Apache] or reconfigure Apache and the Control Panel to listen on a different port&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.7900009155273px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.7900009155273px;&quot;&gt;
&lt;span style=&quot;line-height: 20.7900009155273px;&quot;&gt;80 port和 443 port 被占用，修改系統文件處理：&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.7900009155273px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.7900009155273px;&quot;&gt;
解決法1:&lt;br /&gt;&lt;br /&gt;1.在\ xampp\apache\conf目錄下 ，打开httpd.conf，將80 port 改為未使用port 如 8088&lt;br /&gt;2.在 \ xampp\apache\conf\extra目录下 ，打开httpd-ssl.conf ，將443 port 改為未使用port 如 4433&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;
解決法2:&lt;/div&gt;
&lt;div&gt;
打開 XAMPP config-&amp;gt; service and port setting&amp;nbsp;&lt;/div&gt;
&lt;div&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;
解決法3:&lt;/div&gt;
&lt;div&gt;
修改XAMPP資料夾下兩文件&lt;/div&gt;
properties.ini和xampp-control.ini&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.7900009155273px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.7900009155273px;&quot;&gt;
1.properties.ini&lt;br /&gt;[General]&lt;br /&gt;installdir=D:\xampp&lt;br /&gt;base_stack_name=XAMPP&lt;br /&gt;base_stack_version=1.8.3-1&lt;br /&gt;base_stack_platform=windows&lt;br /&gt;require_root_privileges=1&lt;br /&gt;[Apache]&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;apache_server_port=80&lt;br /&gt;apache_server_ssl_port=443&lt;/span&gt;&lt;br /&gt;apache_root_directory=/xampp/apache&lt;br /&gt;apache_htdocs_directory=D:\xampp/htdocs&lt;br /&gt;apache_domainname=127.0.0.1&lt;br /&gt;apache_configuration_directory=D:\xampp/apache/conf&lt;br /&gt;apache_unique_service_name=&lt;br /&gt;[MySQL]&lt;br /&gt;mysql_port=3306&lt;br /&gt;mysql_host=localhost&lt;br /&gt;mysql_root_directory=D:\xampp\mysql&lt;br /&gt;mysql_binary_directory=D:\xampp\mysql\bin&lt;br /&gt;mysql_data_directory=D:\xampp\mysql\data&lt;br /&gt;mysql_arguments=-u root -P 3306&lt;br /&gt;mysql_unique_service_name=&lt;br /&gt;[PHP]&lt;br /&gt;php_binary_directory=D:\xampp\php&lt;br /&gt;php_configuration_directory=D:\xampp\php&lt;br /&gt;&lt;br /&gt;修改為&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;apache_server_port=8088&lt;br /&gt;apache_server_ssl_port=4431&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. xampp-control.ini，&lt;br /&gt;[ServicePorts]&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;Apache=80&lt;br /&gt;ApacheSSL=443&lt;br /&gt;MySQL=3306&lt;/span&gt;&lt;br /&gt;FileZilla=21&lt;br /&gt;FileZillaAdmin=14147&lt;br /&gt;Mercury1=25&lt;br /&gt;Mercury2=79&lt;br /&gt;Mercury3=105&lt;br /&gt;Mercury4=106&lt;br /&gt;Mercury5=110&lt;br /&gt;Mercury6=143&lt;br /&gt;Mercury7=2224&lt;br /&gt;TomcatHTTP=8080&lt;br /&gt;TomcatAJP=8009&lt;br /&gt;Tomcat=8005&lt;br /&gt;&lt;br /&gt;修改成&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;Apache=8088&lt;br /&gt;ApacheSSL=4431&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;文章來源：&lt;a href=&quot;http://skycloud1030.blogspot.tw/2014/06/xampp_22.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://skycloud1030.blogspot.tw/2014/06/xampp_22.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/309501829687930730/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2015/01/xampp-xampp.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/309501829687930730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/309501829687930730'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2015/01/xampp-xampp.html' title='[XAMPP] XAMPP 常見問題'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-6044727843951235825</id><published>2015-01-14T01:38:00.004-08:00</published><updated>2015-01-14T19:14:51.740-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="VirtualBox"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server 2008"/><title type='text'>[工作記錄] Windows Server 2008 R2 安裝相關筆記</title><content type='html'>免費虛擬機器軟體《VirtualBox》的安裝、設定教學_選項設置4 @ 企鵝碎碎唸 痞客邦 PIXNET &lt;br /&gt;
&lt;a href=&quot;http://tzoyiing.pixnet.net/blog/post/25399564-%E5%85%8D%E8%B2%BB%E8%99%9B%E6%93%AC%E6%A9%9F%E5%99%A8%E8%BB%9F%E9%AB%94%E3%80%8Avirtualbox%E3%80%8B%E7%9A%84%E5%AE%89%E8%A3%9D%E3%80%81%E8%A8%AD%E5%AE%9A&quot;&gt;http://tzoyiing.pixnet.net/blog/post/25399564-%E5%85%8D%E8%B2%BB%E8%99%9B%E6%93%AC%E6%A9%9F%E5%99%A8%E8%BB%9F%E9%AB%94%E3%80%8Avirtualbox%E3%80%8B%E7%9A%84%E5%AE%89%E8%A3%9D%E3%80%81%E8%A8%AD%E5%AE%9A&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[Windows] Windows 2008 Server 關閉IE增強式安全性設定 &lt;br /&gt;
&lt;a href=&quot;http://www.dotblogs.com.tw/yc421206/archive/2012/02/01/67305.aspx&quot;&gt;http://www.dotblogs.com.tw/yc421206/archive/2012/02/01/67305.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
windows 2008 R2 無法被 Ping&lt;br /&gt;
&lt;a href=&quot;http://erichuang89.blogspot.tw/2012/01/windows-2008-r2-ping.html&quot;&gt;http://erichuang89.blogspot.tw/2012/01/windows-2008-r2-ping.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Mysql 直接從date 文件夾備份表，還原數據庫之後提示 table doesn`t exist的原因和解決方法&lt;a href=&quot;http://www.cnblogs.com/joeylee/archive/2012/09/27/2705685.html&quot;&gt;http://www.cnblogs.com/joeylee/archive/2012/09/27/2705685.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;簡單的說，停止mysql服務，除了拷貝 innodb 數據庫表 「*.frm」 文件和 innodb數據 「ibdata1」 文件到合適的位置，還要把 ibdata1 也拷貝過去覆蓋，&lt;b&gt;將目錄下的 ib_logfile* 文件全部刪除掉&lt;/b&gt;，重新啟動mysql服務。&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;增加 VirtualBox 虛擬硬碟大小（使用 GParted 調整分割區）&lt;br /&gt;&lt;a href=&quot;http://www.gtwang.org/2014/05/resize-virtualbox-disk-image-manipulate-vdi.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.gtwang.org/2014/05/resize-virtualbox-disk-image-manipulate-vdi.html&lt;/a&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/6044727843951235825/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2015/01/windows-server-2008-r2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/6044727843951235825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/6044727843951235825'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2015/01/windows-server-2008-r2.html' title='[工作記錄] Windows Server 2008 R2 安裝相關筆記'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-4826164222505597477</id><published>2015-01-07T16:47:00.001-08:00</published><updated>2015-01-07T16:47:46.581-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="網頁擷取"/><category scheme="http://www.blogger.com/atom/ns#" term="線上工具"/><title type='text'>[線上工具] 線上產生網頁擷圖工具 www.page2images.com</title><content type='html'>&lt;b&gt;Page2Images&lt;/b&gt; &lt;a href=&quot;http://www.page2images.com/&quot; target=&quot;_blank&quot;&gt;http://www.page2images.com/&lt;/a&gt;&lt;div&gt;
線上產生網頁擷圖工具，可方便如部落格、網站操作等動作說明。&lt;/div&gt;
&lt;div&gt;
&lt;br /&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/AVvXsEhtdO4CffXgrdEdp5JYvjYqWZ7NkFDzJdd6G4Ag-AglNzkogdIm1XM0eTYO5dJyCMQl1XxTcnyakDPu2iPVhAyK3QKnp-rMwm-uUCM5gXAQ4lQEiGe3bOP2zbVkKpO3i-zwOTna2vz4ZlE/s1600/OKw5vf4qnBUFB7TJ.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtdO4CffXgrdEdp5JYvjYqWZ7NkFDzJdd6G4Ag-AglNzkogdIm1XM0eTYO5dJyCMQl1XxTcnyakDPu2iPVhAyK3QKnp-rMwm-uUCM5gXAQ4lQEiGe3bOP2zbVkKpO3i-zwOTna2vz4ZlE/s1600/OKw5vf4qnBUFB7TJ.png&quot; height=&quot;287&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/4826164222505597477/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2015/01/wwwpage2imagescom.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/4826164222505597477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/4826164222505597477'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2015/01/wwwpage2imagescom.html' title='[線上工具] 線上產生網頁擷圖工具 www.page2images.com'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtdO4CffXgrdEdp5JYvjYqWZ7NkFDzJdd6G4Ag-AglNzkogdIm1XM0eTYO5dJyCMQl1XxTcnyakDPu2iPVhAyK3QKnp-rMwm-uUCM5gXAQ4lQEiGe3bOP2zbVkKpO3i-zwOTna2vz4ZlE/s72-c/OKw5vf4qnBUFB7TJ.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-243165685348520257</id><published>2015-01-07T16:26:00.001-08:00</published><updated>2015-01-07T16:26:47.809-08:00</updated><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="Pyhton"/><category scheme="http://www.blogger.com/atom/ns#" term="正規表達式"/><category scheme="http://www.blogger.com/atom/ns#" term="線上工具"/><title type='text'>[線上工具] 線上正規表達式開發測試工具 www.regex101.com</title><content type='html'>&lt;b&gt;Regex101&lt;/b&gt; &lt;a href=&quot;https://www.regex101.com/&quot; target=&quot;_blank&quot;&gt;https://www.regex101.com/&lt;/a&gt;&lt;br /&gt;
可提供 PHP，JavaScript 及 Python 線上開發及測試正規表達式的線上工具。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi37RvvDG8_hFYkdR-Bmldu8aXgay0CzMb4moAhrhGWnW3nj9MMkkJRMEebI2fmwNOldnscm_SlFmjSdclxwRxrS2z2qzcxAaFkeNsHCBtlEJxAFqCZEe7t6urRQW9fRpIosb3CoHIXQOs/s1600/http---www.page2images.com-tmp-20150107-6LIpBzPJyqHB14we.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi37RvvDG8_hFYkdR-Bmldu8aXgay0CzMb4moAhrhGWnW3nj9MMkkJRMEebI2fmwNOldnscm_SlFmjSdclxwRxrS2z2qzcxAaFkeNsHCBtlEJxAFqCZEe7t6urRQW9fRpIosb3CoHIXQOs/s1600/http---www.page2images.com-tmp-20150107-6LIpBzPJyqHB14we.png&quot; height=&quot;250&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/243165685348520257/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2015/01/wwwregex101com.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/243165685348520257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/243165685348520257'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2015/01/wwwregex101com.html' title='[線上工具] 線上正規表達式開發測試工具 www.regex101.com'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi37RvvDG8_hFYkdR-Bmldu8aXgay0CzMb4moAhrhGWnW3nj9MMkkJRMEebI2fmwNOldnscm_SlFmjSdclxwRxrS2z2qzcxAaFkeNsHCBtlEJxAFqCZEe7t6urRQW9fRpIosb3CoHIXQOs/s72-c/http---www.page2images.com-tmp-20150107-6LIpBzPJyqHB14we.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-598893719029814486</id><published>2015-01-05T07:08:00.004-08:00</published><updated>2015-01-05T07:08:52.569-08:00</updated><title type='text'>[Google App Engine] 執行時出現 Errors occurred : See the logfile &#39;... GoogleAppEngineLauncher.exe.log&#39; for details</title><content type='html'>出現這個問題時，應是先設定 Google App Engine 時的預設執行位置有錯，這會導致您把 Google App Engine&amp;nbsp;管理程式移除再重裝都無法解決，建議您依下述方式執行：&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;進入路徑 &amp;lt;C:\Users\[使用者]\ &amp;gt;下。&lt;/li&gt;
&lt;li&gt;刪除名為 &amp;lt;Google&amp;gt; 的資料夾。&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
如此即可重新啟動 Google App Engine 的管理程式。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
參考資料&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/2643081/google-app-engine-error-and-i-cant-open-it-now-python&quot; target=&quot;_blank&quot;&gt;http://stackoverflow.com/questions/2643081/google-app-engine-error-and-i-cant-open-it-now-python&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/598893719029814486/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2015/01/google-app-engine-errors-occurred-see.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/598893719029814486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/598893719029814486'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2015/01/google-app-engine-errors-occurred-see.html' title='[Google App Engine] 執行時出現 Errors occurred : See the logfile &#39;... GoogleAppEngineLauncher.exe.log&#39; for details'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-823443381069250334</id><published>2014-11-24T07:53:00.003-08:00</published><updated>2014-11-24T07:53:41.285-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Facebook"/><category scheme="http://www.blogger.com/atom/ns#" term="RSS"/><title type='text'>[教學] 如何訂閱 Facebook 粉絲專頁的 RSS?</title><content type='html'>&lt;h2&gt;
取得 Facebook 粉絲專頁的 User id&lt;/h2&gt;
Facebook User ID 的線上工具&lt;div&gt;
&lt;a href=&quot;http://findmyfacebookid.com/&quot;&gt;http://findmyfacebookid.com/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&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/AVvXsEjurVhhxjcOShKRybIjny6xLjC4zvdV-LRe-h0FPk4D8zFwQ0MYgM8_gBAf0LC459Qot1UODy6EQooCupWpzx7AAQqLGvhFucv00kJtx4iflQflR81SZjYq18e2qwFHlv7rasH-YTBY49I/s1600/fbrss01.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjurVhhxjcOShKRybIjny6xLjC4zvdV-LRe-h0FPk4D8zFwQ0MYgM8_gBAf0LC459Qot1UODy6EQooCupWpzx7AAQqLGvhFucv00kJtx4iflQflR81SZjYq18e2qwFHlv7rasH-YTBY49I/s1600/fbrss01.gif&quot; height=&quot;300&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvbx89QcteXg5ZWaaRyrV1xmbCEdfxjBJEqDDgHYrg8zuyHu_wrjiifb5FqwU3wzs85xyshypmlh-kEceeA2iD9vQ6QrZMt3qXE9YCExDF7a9ErDMSath_HHoD4MSXYDe8TIvj58lvUMo/s1600/fbrss02.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvbx89QcteXg5ZWaaRyrV1xmbCEdfxjBJEqDDgHYrg8zuyHu_wrjiifb5FqwU3wzs85xyshypmlh-kEceeA2iD9vQ6QrZMt3qXE9YCExDF7a9ErDMSath_HHoD4MSXYDe8TIvj58lvUMo/s1600/fbrss02.gif&quot; height=&quot;300&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h2&gt;
產生 Facebook &amp;nbsp;粉絲專頁的 RSS 頁面&lt;/h2&gt;
&lt;div&gt;
得到 facebook id 以後就可以推敲出該頁的 RSS 位址，格式如下:&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
https://www.facebook.com/feeds/page.php?format=rss20&amp;amp;id=取得的FacebookUserId&lt;/blockquote&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/AVvXsEg0M208pfvbqeJsAfBWAsZKiIVmvD3QAN52iTmxh3xPCR2iZGJqd4wXDA-HZi0woGl6LtIgfCIKcBhygFjRFVDXxKjxox0FVy0RP9ukeD2t5VAcPc0rnAEfUKjiwuJqNgErVPzh4DWMo28/s1600/fbrss03.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0M208pfvbqeJsAfBWAsZKiIVmvD3QAN52iTmxh3xPCR2iZGJqd4wXDA-HZi0woGl6LtIgfCIKcBhygFjRFVDXxKjxox0FVy0RP9ukeD2t5VAcPc0rnAEfUKjiwuJqNgErVPzh4DWMo28/s1600/fbrss03.gif&quot; height=&quot;300&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;h2&gt;
使用 Feedly 訂閱 Facebook 粉絲專頁&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
取得 RSS 的位址後，我們試著使用 Feedly 來訂閱：&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/AVvXsEgLueLO2XoejnWivjqQbQz04il35XxW88Q14ICGXVTdqSJIyqC23V48FUcD7QCZJGJxNnyU6Q0D2lcEMiQqeZtu3kQXuUBWUR9cdGYHUHU44E-1wxM3nJC8H2NHP0BheJQrWvSZe_9NCTg/s1600/fbrss04.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLueLO2XoejnWivjqQbQz04il35XxW88Q14ICGXVTdqSJIyqC23V48FUcD7QCZJGJxNnyU6Q0D2lcEMiQqeZtu3kQXuUBWUR9cdGYHUHU44E-1wxM3nJC8H2NHP0BheJQrWvSZe_9NCTg/s1600/fbrss04.gif&quot; height=&quot;300&quot; width=&quot;400&quot; /&gt;&lt;/a&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://daviduse.blogspot.com/feeds/823443381069250334/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2014/11/facebook-rss_24.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/823443381069250334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/823443381069250334'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2014/11/facebook-rss_24.html' title='[教學] 如何訂閱 Facebook 粉絲專頁的 RSS?'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjurVhhxjcOShKRybIjny6xLjC4zvdV-LRe-h0FPk4D8zFwQ0MYgM8_gBAf0LC459Qot1UODy6EQooCupWpzx7AAQqLGvhFucv00kJtx4iflQflR81SZjYq18e2qwFHlv7rasH-YTBY49I/s72-c/fbrss01.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-5618243953330689517</id><published>2014-11-17T06:05:00.002-08:00</published><updated>2014-11-24T08:25:09.116-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="RSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Youtube"/><title type='text'> [教學] 如何訂閱Youtube關鍵字影片的RSS</title><content type='html'>&lt;br /&gt;
RSS很好用，Youtube的影片資源豐富更好用， &lt;br /&gt;
但是能不能把youtube上關鍵字搜尋的影片做成RSS來訂閱呢？&lt;br /&gt;
&lt;br /&gt;
沒問題！&lt;br /&gt;
&lt;br /&gt;
要訂閱某個標籤(tag) &lt;br /&gt;
http://gdata.youtube.com/feeds/base/videos/-/[insert tagname here]?client=ytapi-youtube-browse&amp;amp;v=2&lt;br /&gt;
&lt;br /&gt;
要訂閱某個使用者 &lt;br /&gt;
http://gdata.youtube.com/feeds/base/users/[insert username here]/uploads&lt;br /&gt;
&lt;br /&gt;
要訂閱某個關鍵字搜尋結果 &lt;br /&gt;
http://gdata.youtube.com/feeds/base/videos?q=[insert url-encoded search term here]&amp;amp;client=ytapi-youtube-search&amp;amp;v=2&lt;br /&gt;
&lt;br /&gt;
然後把上面的網址貼到你的RSS reader上就可以了&lt;br /&gt;
&lt;br /&gt;
但是注意！網址不接受非英文字母，若是你要訂閱中文關鍵字，必須先轉換成URL encoding&lt;br /&gt;
&lt;br /&gt;
參考：&lt;a href=&quot;http://willersbig5.blogspot.com/2009/02/percent-encodingurl-encoding.html&quot;&gt;網址中的中文如何轉成%編碼(percent-encoding/URL encoding)&lt;/a&gt;， &lt;br /&gt;
你可以到&lt;a href=&quot;http://www.w3schools.com/tags/ref_urlencode.asp&quot;&gt;HTML URL Encoding Reference&lt;/a&gt;去線上轉換，或是到&lt;a href=&quot;http://blog.darkthread.net/blogs/darkthreadtw/archive/2008/04/27/1083.aspx#2996&quot;&gt;中文編碼解析工具 Ver 1.3&lt;/a&gt;去下載一個小軟體來轉換。&lt;br /&gt;
&lt;br /&gt;
例如你想訂閱「陳綺貞」的關鍵字搜索影片， &lt;br /&gt;
轉成可得 %E9%99%B3%E7%B6%BA%E8%B2%9E&lt;br /&gt;
&lt;br /&gt;
然後訂閱以下網址即可 &lt;br /&gt;
&lt;a href=&quot;http://gdata.youtube.com/feeds/base/videos?q=%E9%99%B3%E7%B6%BA%E8%B2%9E&amp;amp;client=ytapi-youtube-search&amp;amp;v=2&quot;&gt;http://gdata.youtube.com/feeds/base/videos?q=%E9%99%B3%E7%B6%BA%E8%B2%9E&amp;amp;client=ytapi-youtube-search&amp;amp;v=2&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
資料來源：http://willersbig5.blogspot.tw/2009/02/youtuberssrss.html&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/5618243953330689517/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2014/11/youtuberss.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/5618243953330689517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/5618243953330689517'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2014/11/youtuberss.html' title=' [教學] 如何訂閱Youtube關鍵字影片的RSS'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-4049344281117274163</id><published>2013-09-16T07:02:00.003-07:00</published><updated>2013-09-16T07:05:08.097-07:00</updated><title type='text'>[Emeditor] 如何將文字檔加入行號</title><content type='html'>這個秘技對於寫程式時加上行號超好用啊，大推!!&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;在 Emeditor 中將每一個程式行都用 &lt;b&gt;Enter&lt;/b&gt; 分行。&amp;nbsp;&lt;/li&gt;
&lt;li&gt;按 &lt;b&gt;Ctrl + A&lt;/b&gt; 全選所有的程式碼。&amp;nbsp;&lt;/li&gt;
&lt;li&gt;按 &lt;b&gt;Ctrl + Shift + F8&lt;/b&gt; (工具&amp;gt;全部命令&amp;gt;編輯&amp;gt;擴展選區&amp;gt;縱向選擇)&amp;nbsp;&lt;/li&gt;
&lt;li&gt;按 &lt;b&gt;ALT+N&lt;/b&gt; (編輯&amp;gt;高級&amp;gt;編號), 在開啟的對話方塊設定 &lt;b&gt;首行：1&lt;/b&gt;, &lt;b&gt;增量：1&lt;/b&gt;, &lt;b&gt;十進制&lt;/b&gt;, 最後按 &lt;b&gt;確定&lt;/b&gt; 鈕。&lt;/li&gt;
&lt;li&gt;此時在每一行前已經加上了行號，不要取消選取，請按 &lt;b&gt;Tab&lt;/b&gt; 鍵，讓行號與程式加上間距。&amp;nbsp;&lt;/li&gt;
&lt;li&gt;在空白處隨意按一下取消選取區。&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
打完收工，真是太方便了。&lt;br /&gt;
&lt;br /&gt;
參考網址
http://zhidao.baidu.com/question/545465427.html</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/4049344281117274163/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2013/09/emeditor.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/4049344281117274163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/4049344281117274163'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2013/09/emeditor.html' title='[Emeditor] 如何將文字檔加入行號'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-1146781442239889540</id><published>2013-08-28T18:52:00.002-07:00</published><updated>2013-08-28T18:52:51.247-07:00</updated><title type='text'>純CSS打造箭頭對話框效果</title><content type='html'>&lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt; &lt;script&gt;(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = &quot;//connect.facebook.net/zh_TW/all.js#xfbml=1&quot;; fjs.parentNode.insertBefore(js, fjs); }(document, &#39;script&#39;, &#39;facebook-jssdk&#39;));&lt;/script&gt;
&lt;div class=&quot;fb-post&quot; data-href=&quot;https://www.facebook.com/minwtfans/posts/10151786447189729&quot;&gt;&lt;div class=&quot;fb-xfbml-parse-ignore&quot;&gt;&lt;em class=&quot;intl-prototype-translatable&quot; data-intl-hash=&quot;137bae6f8de68fef72a1de911bab1f3a&quot; data-intl-locale=&quot;zh_TW&quot; data-intl-app=&quot;1&quot; data-intl-trid=&quot;22524058&quot; oncontextmenu=&quot;return false;&quot;&gt;由&lt;a href=&quot;https://www.facebook.com/minwtfans&quot;&gt;梅粉絲團&lt;/a&gt;&lt;a href=&quot;https://www.facebook.com/minwtfans/posts/10151786447189729&quot;&gt;&lt;em class=&quot;intl-prototype-translatable&quot; data-intl-hash=&quot;b3191c78f2b34fe0571acaef72320d40&quot; data-intl-locale=&quot;zh_TW&quot; data-intl-app=&quot;1&quot; data-intl-trid=&quot;22522890&quot; oncontextmenu=&quot;return false;&quot;&gt;留言&lt;/em&gt;&lt;/a&gt;。&lt;/em&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/1146781442239889540/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2013/08/css.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/1146781442239889540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/1146781442239889540'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2013/08/css.html' title='純CSS打造箭頭對話框效果'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-8625323225936026273</id><published>2013-08-26T23:08:00.004-07:00</published><updated>2015-01-21T06:49:17.357-08:00</updated><title type='text'>Facebook 文章收集</title><content type='html'>關於 CSS Sprite 的討論&lt;br /&gt;
&lt;a href=&quot;https://www.facebook.com/groups/open.rgba/permalink/835708113156492/&quot; target=&quot;_blank&quot;&gt;https://www.facebook.com/groups/open.rgba/permalink/835708113156492/&lt;/a&gt;&lt;script&gt;(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = &quot;//connect.facebook.net/zh_TW/all.js#xfbml=1&quot;; fjs.parentNode.insertBefore(js, fjs); }(document, &#39;script&#39;, &#39;facebook-jssdk&#39;));&lt;/script&gt;
&lt;br /&gt;
&lt;br /&gt;
Node.js 教學&lt;br /&gt;
&lt;a href=&quot;https://www.facebook.com/groups/programmerMagazine/permalink/1018276528189063/&quot; target=&quot;_blank&quot;&gt;https://www.facebook.com/groups/programmerMagazine/permalink/1018276528189063/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;fb-post&quot; data-href=&quot;https://www.facebook.com/iamMarketers/posts/582929001745678&quot;&gt;
&lt;div class=&quot;fb-xfbml-parse-ignore&quot;&gt;
&lt;em class=&quot;intl-prototype-translatable&quot; data-intl-app=&quot;1&quot; data-intl-hash=&quot;137bae6f8de68fef72a1de911bab1f3a&quot; data-intl-locale=&quot;zh_TW&quot; data-intl-trid=&quot;22524058&quot; oncontextmenu=&quot;return false;&quot;&gt;由&lt;a href=&quot;https://www.facebook.com/iamMarketers&quot;&gt;林文傑&lt;/a&gt;&lt;a href=&quot;https://www.facebook.com/iamMarketers/posts/582929001745678&quot;&gt;&lt;em class=&quot;intl-prototype-translatable&quot; data-intl-app=&quot;1&quot; data-intl-hash=&quot;b3191c78f2b34fe0571acaef72320d40&quot; data-intl-locale=&quot;zh_TW&quot; data-intl-trid=&quot;22522890&quot; oncontextmenu=&quot;return false;&quot;&gt;留言&lt;/em&gt;&lt;/a&gt;。&lt;/em&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&quot;fb-root&quot;&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/8625323225936026273/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2013/08/facebook.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/8625323225936026273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/8625323225936026273'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2013/08/facebook.html' title='Facebook 文章收集'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-8058632453457379105</id><published>2012-03-13T13:34:00.003-07:00</published><updated>2012-03-13T13:35:49.240-07:00</updated><title type='text'>川說藏情簡報分享～</title><content type='html'>&lt;div style=&quot;width:425px&quot; id=&quot;__ss_11993630&quot;&gt;&lt;strong style=&quot;display:block;margin:12px 0 4px&quot;&gt;&lt;a href=&quot;http://www.slideshare.net/ehappy520/ss-11993630&quot; title=&quot;川說藏情&quot; target=&quot;_blank&quot;&gt;川說藏情&lt;/a&gt;&lt;/strong&gt; &lt;iframe src=&quot;http://www.slideshare.net/slideshow/embed_code/11993630&quot; width=&quot;425&quot; height=&quot;355&quot; frameborder=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot;&gt;&lt;/iframe&gt; &lt;div style=&quot;padding:5px 0 12px&quot;&gt;View more &lt;a href=&quot;http://www.slideshare.net/&quot; target=&quot;_blank&quot;&gt;presentations&lt;/a&gt; from &lt;a href=&quot;http://www.slideshare.net/ehappy520&quot; target=&quot;_blank&quot;&gt;ehappy520&lt;/a&gt; &lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
謝謝大家</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/8058632453457379105/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2012/03/blog-post_13.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/8058632453457379105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/8058632453457379105'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2012/03/blog-post_13.html' title='川說藏情簡報分享～'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-6165074407361075745</id><published>2012-03-07T08:18:00.000-08:00</published><updated>2012-03-07T08:18:02.777-08:00</updated><title type='text'>川說藏情簡報分享～</title><content type='html'>各位朋友大家好，以下是我製作的最新的簡報分享，&lt;br /&gt;
希望大家會喜歡！！&lt;br /&gt;
&lt;iframe frameborder=&#39;0&#39; style=&#39;width:460px;height:375px;&#39; src=&#39;http://public.iwork.com/embed/?d=川說藏情.key&amp;a=p1405402558&amp;h=768&amp;w=1024&amp;sw=458&#39;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/6165074407361075745/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2012/03/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/6165074407361075745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/6165074407361075745'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2012/03/blog-post.html' title='川說藏情簡報分享～'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-4668015524026112546</id><published>2011-05-12T09:13:00.000-07:00</published><updated>2011-05-13T13:35:42.464-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="WordPress"/><title type='text'>[收集] Free WordPress Theme 網站</title><content type='html'>&lt;a href=&quot;http://fthemes.com/&quot;&gt;http://fthemes.com/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
持續收集中...</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/4668015524026112546/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2011/05/free-wordpress-theme.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/4668015524026112546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/4668015524026112546'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2011/05/free-wordpress-theme.html' title='[收集] Free WordPress Theme 網站'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-2930415338144988250</id><published>2011-05-12T09:11:00.000-07:00</published><updated>2011-05-13T13:35:42.686-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger"/><title type='text'>收集 Blogger 技巧的網站</title><content type='html'>充滿了 Blogger 技巧的網站，能說什麼呢，給個讚吧！ &lt;br /&gt;
&lt;a href=&quot;http://www.bloggertipandtrick.net/&quot;&gt;http://www.bloggertipandtrick.net/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/2930415338144988250/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2011/05/blogger.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/2930415338144988250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/2930415338144988250'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2011/05/blogger.html' title='收集 Blogger 技巧的網站'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-7837278201442436655</id><published>2011-05-11T21:16:00.000-07:00</published><updated>2011-05-13T13:35:42.539-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MySQL"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="phpMyAdminm"/><title type='text'>在MySQL中找尋或刪除重複的記錄</title><content type='html'>查找表中多餘的重複記錄，重複記錄是根據單個字段（peopleId）來判斷&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;select * from people&lt;br /&gt;
where peopleId in (select&amp;nbsp; peopleId&amp;nbsp; from&amp;nbsp; people&amp;nbsp; group&amp;nbsp; by&amp;nbsp; peopleId&amp;nbsp; having&amp;nbsp; count(peopleId) &amp;gt; 1)&lt;/blockquote&gt;&lt;br /&gt;
刪除表中多餘的重複記錄，重複記錄是根據單個字段（peopleId）來判斷，只留有rowid最小的記錄&lt;br /&gt;
&lt;br /&gt;
delete from people&lt;br /&gt;
where peopleId&amp;nbsp; in (select&amp;nbsp; peopleId&amp;nbsp; from people&amp;nbsp; group&amp;nbsp; by&amp;nbsp; peopleId&amp;nbsp;&amp;nbsp; having&amp;nbsp; count(peopleId) &amp;gt; 1)&lt;br /&gt;
and rowid not in (select min(rowid) from&amp;nbsp; people&amp;nbsp; group by peopleId&amp;nbsp; having count(peopleId )&amp;gt;1)&lt;br /&gt;
&lt;br /&gt;
查找表中多餘的重複記錄（多個字段）&lt;br /&gt;
&lt;br /&gt;
select * from vitae a&lt;br /&gt;
where (a.peopleId,a.seq) in&amp;nbsp; (select peopleId,seq from vitae group by peopleId,seq&amp;nbsp; having count(*) &amp;gt; 1)&lt;br /&gt;
&lt;br /&gt;
刪除表中多餘的重複記錄（多個字段），只留有rowid最小的記錄&lt;br /&gt;
&lt;br /&gt;
delete from vitae a&lt;br /&gt;
where (a.peopleId,a.seq) in&amp;nbsp; (select peopleId,seq from vitae group by peopleId,seq having count(*) &amp;gt; 1)&lt;br /&gt;
and rowid not in (select min(rowid) from vitae group by peopleId,seq having count(*)&amp;gt;1)&lt;br /&gt;
&lt;br /&gt;
查找表中多餘的重複記錄（多個字段），不包含rowid最小的記錄&lt;br /&gt;
&lt;br /&gt;
select * from vitae a&lt;br /&gt;
where (a.peopleId,a.seq) in&amp;nbsp; (select peopleId,seq from vitae group by peopleId,seq having count(*) &amp;gt; 1)&lt;br /&gt;
and rowid not in (select min(rowid) from vitae group by peopleId,seq having count(*)&amp;gt;1)&lt;br /&gt;
&lt;br /&gt;
-------------&lt;br /&gt;
比方說&lt;br /&gt;
在A表中存在一個字段「name」，&lt;br /&gt;
而且不同記錄之間的「name」值有可能會相同，&lt;br /&gt;
現在就是需要查詢出在該表中的各記錄之間，「name」值存在重複的項；&lt;br /&gt;
&lt;br /&gt;
Select Name,Count(*) From A Group By Name Having Count(*) &amp;gt; 1&lt;br /&gt;
&lt;br /&gt;
如果還查性別也相同大則如下:&lt;br /&gt;
&lt;br /&gt;
Select Name,sex,Count(*) From A Group By Name,sex Having Count(*) &amp;gt; 1&lt;br /&gt;
&lt;br /&gt;
------------------------------------&lt;br /&gt;
方法一&lt;br /&gt;
&lt;br /&gt;
declare @max integer,@id integer&lt;br /&gt;
&lt;br /&gt;
declare cur_rows cursor local for select 主字段,count(*) from 表名 group by 主字段 having count(*) &amp;gt;； 1&lt;br /&gt;
&lt;br /&gt;
open cur_rows&lt;br /&gt;
&lt;br /&gt;
fetch cur_rows into @id,@max&lt;br /&gt;
&lt;br /&gt;
while @@fetch_status=0&lt;br /&gt;
&lt;br /&gt;
begin&lt;br /&gt;
&lt;br /&gt;
select @max = @max -1&lt;br /&gt;
&lt;br /&gt;
set rowcount @max&lt;br /&gt;
&lt;br /&gt;
delete from 表名 where 主字段 = @id&lt;br /&gt;
&lt;br /&gt;
fetch cur_rows into @id,@max&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
close cur_rows&lt;br /&gt;
&lt;br /&gt;
set rowcount 0&lt;br /&gt;
&lt;br /&gt;
方法二&lt;br /&gt;
&lt;br /&gt;
有兩個意義上的重複記錄，一是完全重複的記錄，也即所有字段均重複的記錄，二是部分關鍵字段重複的記錄，比如Name字段重複，而其他字段不一定重複或都重複可以忽略。&lt;br /&gt;
&lt;br /&gt;
1、對於第一種重複，比較容易解決，使用&lt;br /&gt;
&lt;br /&gt;
select distinct * from tableName&lt;br /&gt;
就可以得到無重複記錄的結果集。&lt;br /&gt;
如果該表需要刪除重複的記錄（重複記錄保留1條），可以按以下方法刪除&lt;br /&gt;
&lt;br /&gt;
select distinct * into #Tmp from tableName&lt;br /&gt;
drop table tableName&lt;br /&gt;
&lt;br /&gt;
select * into tableName from #Tmp&lt;br /&gt;
drop table #Tmp&lt;br /&gt;
&lt;br /&gt;
發生這種重複的原因是表設計不周產生的，增加唯一索引列即可解決。&lt;br /&gt;
&lt;br /&gt;
2、這類重複問題通常要求保留重複記錄中的第一條記錄，操作方法如下&lt;br /&gt;
假設有重複的字段為Name,Address，要求得到這兩個字段唯一的結果集&lt;br /&gt;
&lt;br /&gt;
select identity(int,1,1) as autoID, * into #Tmp from tableName&lt;br /&gt;
&lt;br /&gt;
select min(autoID) as autoID into #Tmp2 from #Tmp group by Name,autoID&lt;br /&gt;
&lt;br /&gt;
select * from #Tmp where autoID in(select autoID from #tmp2)&lt;br /&gt;
&lt;br /&gt;
最後一個select即得到了Name，Address不重複的結果集（但多了一個autoID字段，實際寫時可以寫在select子句中省去此列）&lt;br /&gt;
&lt;br /&gt;
------------------------------------&lt;br /&gt;
查詢重複&lt;br /&gt;
&lt;br /&gt;
select * from tablename where id in (&lt;br /&gt;
select id from tablename&lt;br /&gt;
group by id&lt;br /&gt;
having count(id) &amp;gt; 1&lt;br /&gt;
)</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/7837278201442436655/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2011/05/mysql.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/7837278201442436655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/7837278201442436655'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2011/05/mysql.html' title='在MySQL中找尋或刪除重複的記錄'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-9105372976544062750</id><published>2011-05-11T18:01:00.000-07:00</published><updated>2011-05-13T13:35:42.595-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="Lightbox"/><title type='text'>LightBox 收集</title><content type='html'>在製作網頁時常會使用的 LightBox 收集：&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;ThickBox：&lt;a href=&quot;http://jquery.com/demo/thickbox/&quot;&gt;http://jquery.com/demo/thickbox/&lt;/a&gt;&lt;br /&gt;
除了圖片顯示，還有 html 及 iframe。不過已經不更新了。&lt;/li&gt;
&lt;li&gt;Fancybox：&lt;a href=&quot;http://fancybox.net/&quot;&gt;http://fancybox.net/&lt;/a&gt;&lt;br /&gt;
最近常看到的。&lt;/li&gt;
&lt;li&gt;Colorbox：&lt;a href=&quot;http://colorpowered.com/colorbox/&quot;&gt;http://colorpowered.com/colorbox/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;jQuery UI Dialog：&lt;a href=&quot;http://jqueryui.com/demos/dialog/&quot;&gt;http://jqueryui.com/demos/dialog/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Shadowbox.js：&lt;a href=&quot;http://www.shadowbox-js.com/index.html&quot;&gt;http://www.shadowbox-js.com/index.html&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/9105372976544062750/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2011/05/lightbox.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/9105372976544062750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/9105372976544062750'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2011/05/lightbox.html' title='LightBox 收集'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-132418076226341119</id><published>2011-05-10T19:29:00.000-07:00</published><updated>2011-05-10T19:29:19.484-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger"/><title type='text'>在Blogger文章貼原始碼(Post Source Code)</title><content type='html'>想在 Blogger 中貼原始碼很麻煩，找到以下資訊：&lt;br /&gt;
&lt;a href=&quot;http://formatmysourcecode.blogspot.com/&quot; target=&quot;_blank&quot;&gt;Format My Source Code for Blogging &lt;/a&gt;。&lt;br /&gt;
&lt;br /&gt;
相關資源：&lt;a href=&quot;http://marieyuen.blogspot.com/2007/12/bloggersource-code.html&quot; target=&quot;_blank&quot;&gt;在下【阮瑪莉】&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/132418076226341119/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2011/05/bloggerpost-source-code.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/132418076226341119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/132418076226341119'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2011/05/bloggerpost-source-code.html' title='在Blogger文章貼原始碼(Post Source Code)'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-1563860712431055029</id><published>2011-05-10T19:10:00.000-07:00</published><updated>2011-05-10T19:23:26.325-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GD"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>檢查 GD 並產生縮圖的函式</title><content type='html'>這是經常使用的GD縮圖函式&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code&gt;//檢查 GD

function checkGD(){

    $error = false;

    $gd = array();   

    if (!extension_loaded(&#39;gd&#39;)) {

        if (strtoupper(substr(PHP_OS, 0, 3)) == &#39;WIN&#39;) {

            if (!dl(&#39;php_gd.dll&#39;)) {

                $error = true;

            }

        } else {

            if (!dl(&#39;gd.so&#39;)) {

                $error = true;

            }

        }

    }

    if ($error) {

        return false;

    } else {

        $gdInfo                   = gd_info();

        $gd[&#39;version&#39;]           = stristr($gdInfo[&#39;GD Version&#39;], &#39;2.&#39;) ? 2 : 1;

        $gd[&#39;formats&#39;][&#39;gif&#39;] = $gdInfo[&#39;GIF Read Support&#39;];

        $gd[&#39;formats&#39;][&#39;jpg&#39;] = $gdInfo[&#39;JPEG Support&#39;]; //小心，不是 JPG Support

        $gd[&#39;formats&#39;][&#39;png&#39;] = $gdInfo[&#39;PNG Support&#39;];       

        return $gd;

    }   

}

// 製作縮圖 createImage(來源檔名路徑, 格式, 縮圖檔名路徑, 縮圖寬, 縮圖高)

function createImage($file, $format, $fileDest, $outputX, $outputY){

    // Get information about the installed GD.

    $gdInfo    = checkGD();

    $gdVersion = $gdInfo[&#39;version&#39;];   

    if ($gdInfo == false) {

        return false;

    }   

    // Ensure the given format is supported.

    if ($gdInfo[&#39;formats&#39;][$format] != 1) {

        return false;

    }   

    // Get the image dimensions.

    $dimensions = @getimagesize($file);

    $width        = $dimensions[0];

    $height        = $dimensions[1];   

    // thumbs mode.   

    $quality  = 85;       

    $deltaX   = 0;

    $deltaY   = 0;

    $portionX = $width;

    $portionY = $height;

    // Get the source image in gif format.

    if ($format == &#39;gif&#39;) {

        $imageSrc  = @imagecreatefromgif($file);

    }   

    // Get the source image in jpg format.

    if ($format == &#39;jpg&#39;) {

        $imageSrc  = @imagecreatefromjpeg($file);

    }   

    // Get the source image in png format.

    if ($format == &#39;png&#39;) {

        $imageSrc  = @imagecreatefrompng($file);

    }

    // The thumbnail creation with GD1.x functions does the job.

    if ($gdVersion == 1) {       

        // Create an empty thumbnail image.

        $imageDest = @imagecreate($outputX, $outputY);       

        // Try to create the thumbnail from the source image.

        if (@imagecopyresized($imageDest, $imageSrc, 0, 0, $deltaX, $deltaY, $outputX, $outputY, $portionX, $portionY)) {           

            // save the thumbnail image into a file.

            @imagejpeg($imageDest, $fileDest, $quality);           

            // Delete both image resources.

            @imagedestroy($imageSrc);

            @imagedestroy($imageDest);           

            return true;           

        }       

    }   

    // The recommended approach is the usage of the GD2.x functions.

    if ($gdVersion == 2) {       

        // Create an empty thumbnail image.

        $imageDest = @imagecreatetruecolor($outputX, $outputY);       

        // Try to create the thumbnail from the source image.

        if (@imagecopyresampled($imageDest, $imageSrc, 0, 0, $deltaX, $deltaY, $outputX, $outputY, $portionX, $portionY)) {           

            // save the thumbnail image into a file.

            @imagejpeg($imageDest, $fileDest, $quality);

            // Delete both image resources.

            @imagedestroy($imageSrc);

            @imagedestroy($imageDest);           

            return true;           

        }       

    }

    return false;

}
&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/1563860712431055029/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2011/05/gd.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/1563860712431055029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/1563860712431055029'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2011/05/gd.html' title='檢查 GD 並產生縮圖的函式'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4365412567138696770.post-7215247960891040229</id><published>2011-05-10T19:02:00.000-07:00</published><updated>2011-05-10T19:30:42.098-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GD"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>測試 PHP 是否安裝 GD 並顯示相關訊息</title><content type='html'>想要測試當下 PHP 環境是否支援 GD，並顯示相關訊息。&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code&gt;&amp;lt;?php

    if(extension_loaded(&#39;gd&#39;)) {

        echo &quot;你可以使用 GD &amp;lt;br /&amp;gt;&quot;;

        foreach(gd_info() as $cate=&amp;gt;$value)

        echo &quot;$cate:$value&amp;lt;br&amp;gt;&quot;;

    }else

    echo &#39;你沒有安裝 GD 模組&#39;;

?&amp;gt;
&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://daviduse.blogspot.com/feeds/7215247960891040229/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://daviduse.blogspot.com/2011/05/php-gd.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/7215247960891040229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4365412567138696770/posts/default/7215247960891040229'/><link rel='alternate' type='text/html' href='http://daviduse.blogspot.com/2011/05/php-gd.html' title='測試 PHP 是否安裝 GD 並顯示相關訊息'/><author><name>茶米</name><uri>http://www.blogger.com/profile/01341955566207695655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo3fldztV3Oh8mKVaMjfbL_C6DQDoNcchIAyewVuGZ3J4dj92ky18jbhriNUxs-nXiuKMbkpHd3TI2h3i7p3GKkRQNAly0tc9F_xgU2_mxRqbvFfMDGX2--9ezGqGhg9s/s1600/001.jpg'/></author><thr:total>0</thr:total></entry></feed>