<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TechGuru</title>
	<atom:link href="http://techguru.cn/feed" rel="self" type="application/rss+xml" />
	<link>http://techguru.cn</link>
	<description>just混口饭吃</description>
	<lastBuildDate>Sun, 14 Mar 2010 18:51:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>mysql str_to_date 字符串转日期类型</title>
		<link>http://techguru.cn/mysql-str_to_date</link>
		<comments>http://techguru.cn/mysql-str_to_date#comments</comments>
		<pubDate>Sun, 14 Mar 2010 18:38:15 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[str_to_date]]></category>

		<guid isPermaLink="false">http://techguru.cn/?p=2347</guid>
		<description><![CDATA[酝酿
最近写的那个嘀咕备份程序，有个需要修改的地方。
首先来看看嘀咕api生成的任意一个含有&#60;status&#62;的xml文件 http://api.minicloud.com.cn/statuses/public_timeline.xml 。
里面的这个节点：&#60;created_at&#62;Mon Mar 15 02:01:51 +0800 2010&#60;/created_at&#62;
created_at节点的意思是 这个元素创建的UTC时间戳。via
恕我无知，我确实不知道这个时间戳格式弄成这样有啥好处：
Sat May 02 20:32:02 +0800 2009
星期 月  日  时:分:秒  时区   年
所以开始在写表结构的时候，把这个字段用varchar来表示，这样的缺点就是无法对所有的嘀咕消息通过时间条件来查询。
其实还有一个缺点：http://api.minicloud.com.cn/statuses/user_timeline.xml?userIdOrName=tunpishuang&#38;page=1 。
我写的代码是从第一页（page=1）一直到最后一页，page=1是最新的消息，也就是最新的消息先写入表中，这些记录的主键id=1,2,3,4&#8230;&#8230;.这无非是一个order by id asc or desc的一问题，但是我以后还要通过其他的渠道向表插入新纪录，这样就混乱了timeline。
所有想扯了这么远，回归到正题就是将这个created_at的值转换成mysql能够识别的日期格式。
正题
mysql手册上发现了我们需要的函数str_to_date  http://dev.mysql.com/doc/refman/5.1/zh/functions.html 
mysql&#62; select str_to_date('Sat May 02 20:32:02 +0800 2009','%a %b %e %k:%i:%s +0800 %Y');
+----------------------------------------------------------------------------+
&#124; str_to_date('Sat May 02 20:32:02 +0800 2009','%a %b %e %k:%i:%s +0800 %Y') &#124;
+----------------------------------------------------------------------------+
&#124; [...]]]></description>
			<content:encoded><![CDATA[<h1><span style="text-decoration: underline;">酝酿</span></h1>
<p>最近写的那个嘀咕备份程序，有个需要修改的地方。</p>
<p>首先来看看嘀咕api生成的任意一个含有&lt;status&gt;的xml文件 <a href="http://api.minicloud.com.cn/statuses/public_timeline.xml" target="_blank">http://api.minicloud.com.cn/statuses/public_timeline.xml</a> 。</p>
<p>里面的这个节点：&lt;created_at&gt;Mon Mar 15 02:01:51 +0800 2010&lt;/created_at&gt;</p>
<p>created_at节点的意思是 这个元素创建的UTC时间戳。<a href="http://code.google.com/p/digu-api/wiki/DiguApiDataBooklet" target="_blank">via</a></p>
<p>恕我无知，我确实不知道这个时间戳格式弄成这样有啥好处：</p>
<pre>Sat May 02 20:32:02 +0800 2009
星期 月  日  时:分:秒  时区   年</pre>
<p>所以开始在写表结构的时候，把这个字段用varchar来表示，这样的缺点就是无法对所有的嘀咕消息通过时间条件来查询。</p>
<p>其实还有一个缺点：http://api.minicloud.com.cn/statuses/user_timeline.xml?<span style="color: #0000ff;">userIdOrName</span>=tunpishuang&amp;<span style="color: #0000ff;">page</span>=1 。</p>
<p>我写的代码是从第一页（page=1）一直到最后一页，page=1是最新的消息，也就是最新的消息先写入表中，这些记录的主键id=1,2,3,4&#8230;&#8230;.这无非是一个order by id asc or desc的一问题，但是我以后还要通过其他的渠道向表插入新纪录，这样就混乱了timeline。</p>
<p>所有想扯了这么远，回归到正题就是将这个created_at的值转换成mysql能够识别的日期格式。</p>
<h1><span style="text-decoration: underline;">正题</span></h1>
<p>mysql手册上发现了我们需要的函数str_to_date  <a href="http://dev.mysql.com/doc/refman/5.1/zh/functions.html " target="_blank">http://dev.mysql.com/doc/refman/5.1/zh/functions.html </a></p>
<pre>mysql&gt; select str_to_date('Sat May 02 20:32:02 +0800 2009','%a %b %e %k:%i:%s +0800 %Y');
+----------------------------------------------------------------------------+
| str_to_date('Sat May 02 20:32:02 +0800 2009','%a %b %e %k:%i:%s +0800 %Y') |
+----------------------------------------------------------------------------+
| 2009-05-02 20:32:02                                                        |
+----------------------------------------------------------------------------+
1 row in set

mysql&gt;</pre>
<p>我发现我写东西都喜欢循循善诱，看来我很适合当老师。</p>
<h3  class="related_post_title">也许你对以下文章感兴趣</h3><ul class="related_post"><li>2010-03-13 -- <a href="http://techguru.cn/mysql-executenonquery-argumentoutofrangeexception" title="MySQL的ExecuteNonQuery()出现异常 “未处理 System.ArgumentOutOfRangeException”">MySQL的ExecuteNonQuery()出现异常 “未处理 System.ArgumentOutOfRangeException”</a> (0)</li><li>2010-01-08 -- <a href="http://techguru.cn/mysql-root-password" title="忘记mysql root密码">忘记mysql root密码</a> (0)</li><li>2007-06-11 -- <a href="http://techguru.cn/using-mysql-to-maintain-my-websites-database" title="安装使用mysql操作我网站的数据库">安装使用mysql操作我网站的数据库</a> (0)</li><li>2007-06-10 -- <a href="http://techguru.cn/error-1045-28000-access-denied-for-user" title="ERROR 1045 (28000): Access denied for user ">ERROR 1045 (28000): Access denied for user </a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://techguru.cn/mysql-str_to_date/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>《大学日本语》配套听力mp3下载</title>
		<link>http://techguru.cn/college-japanese-mp3-download</link>
		<comments>http://techguru.cn/college-japanese-mp3-download#comments</comments>
		<pubDate>Sun, 14 Mar 2010 15:21:44 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[lingo]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[下载]]></category>
		<category><![CDATA[日语]]></category>
		<category><![CDATA[英语]]></category>

		<guid isPermaLink="false">http://techguru.cn/?p=1259</guid>
		<description><![CDATA[
《大学日本语》四川大学出版社 王庭凯主编
为了节约钱，买了4册书，但是没有买磁带。心想网上会有mp3下载，可以只找到了kaoyansky.cn这个crap论坛，需要共享币，一点共享精神都米有。幸好有个好心的网友qq147859950 用邮件传给了我，万分感激。为了更广大人民的利益，我决定分一下流。
可以到http://www.rayfile.com/zh-cn/files/145b15a1-f766-11dd-b0ba-0014221b798a/ (失效)
http://www.rayfile.com/files/8abf39f3-0a48-11de-9fa8-0019d11a795f/(失效)
http://www.namipan.com/d/aed3dba3220fc264501f253c2845e7c53c064ee9be065f10 （Update,09.3.27）
http://www.damipan.com/file/1Fle9aI.html （大米盘,update,09.05.17）
http://vdisk.cn/down/index/4205028A9744 （速度挺快的，支持迅雷，就是有弹窗广告。update:2010.3.14）
下载，大小：261.9 MB，链接失效请留言告知。
也许你对以下文章感兴趣2009-05-26 -- 日语（第二外语）自考试题及答案打包下载&#038;本人近况 (6)2009-03-14 -- 暮光之城 [Twilight] 字幕笔记，字幕下载 (0)2008-12-04 -- 王长喜2008年四级英语预测试卷（标准测试版—第十二版）四级听力MP3下载 (1)2010-02-20 -- 《2030肢解中国—美国的全球战略与中国的危机》戴旭上校在母校演讲的视频完整版下载 (0)2010-01-30 -- 风云2下载/DVD/高清/电影下载/全集/迅雷下载 (0)2010-01-30 -- 蜗居全集下载地址 蜗居全集BT迅雷下载 (0)2010-01-30 -- 暮光之城新月.The.Twilight.Saga.New.Moon电影下载字幕下载 (0)2010-01-30 -- 电影阿凡达下载地址 Avatar.2009 BT下载电驴下载字幕下载 (0)2009-07-06 -- Lie to me Season1字幕笔记 (0)2009-04-24 -- [越狱第4季][17集]字幕笔记，字幕下载 (0)]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="大学日本语" src="http://www.scupress.com.cn/Photo/2991-4.jpg" alt="" width="80" height="113" /></p>
<p><span style="text-decoration: underline;">《大学日本语》四川大学出版社 <span id="info_file_description" class="gray">王庭凯主编</span></span></p>
<p>为了节约钱，买了4册书，但是没有买磁带。心想网上会有mp3下载，可以只找到了kaoyansky.cn这个crap论坛，需要共享币，一点共享精神都米有。幸好有个好心的网友qq147859950 用邮件传给了我，万分感激。为了更广大人民的利益，我决定分一下流。</p>
<p>可以到<span style="text-decoration: line-through;">http://www.rayfile.com/zh-cn/files/145b15a1-f766-11dd-b0ba-0014221b798a/</span> (失效)<br />
<span style="text-decoration: line-through;">http://www.rayfile.com/files/8abf39f3-0a48-11de-9fa8-0019d11a795f/</span>(失效)</p>
<h3><span style="text-decoration: line-through;"><strong>http://www.namipan.com/d/aed3dba3220fc264501f253c2845e7c53c064ee9be065f10</strong></span> （Update,09.3.27）<br />
<span style="text-decoration: line-through;">http://www.damipan.com/file/1Fle9aI.html </span>（大米盘,update,09.05.17）</h3>
<p><a href="http://vdisk.cn/down/index/4205028A9744" target="_blank">http://vdisk.cn/down/index/4205028A9744</a> （速度挺快的，支持迅雷，就是有弹窗广告。update:2010.3.14）</p>
<p>下载，大小：261.9 MB，链接失效请留言告知。</p>
<h3  class="related_post_title">也许你对以下文章感兴趣</h3><ul class="related_post"><li>2009-05-26 -- <a href="http://techguru.cn/zikao-japanese-download" title="日语（第二外语）自考试题及答案打包下载&#038;本人近况">日语（第二外语）自考试题及答案打包下载&#038;本人近况</a> (6)</li><li>2009-03-14 -- <a href="http://techguru.cn/twilight" title="暮光之城 [Twilight] 字幕笔记，字幕下载">暮光之城 [Twilight] 字幕笔记，字幕下载</a> (0)</li><li>2008-12-04 -- <a href="http://techguru.cn/wangchangxi-cet-4-listening-comprehension-mp3-download" title="王长喜2008年四级英语预测试卷（标准测试版—第十二版）四级听力MP3下载">王长喜2008年四级英语预测试卷（标准测试版—第十二版）四级听力MP3下载</a> (1)</li><li>2010-02-20 -- <a href="http://techguru.cn/daixus-speech-about-chinas-crisis-in-2030" title="《2030肢解中国—美国的全球战略与中国的危机》戴旭上校在母校演讲的视频完整版下载">《2030肢解中国—美国的全球战略与中国的危机》戴旭上校在母校演讲的视频完整版下载</a> (0)</li><li>2010-01-30 -- <a href="http://techguru.cn/the-storm-warriors-download" title="风云2下载/DVD/高清/电影下载/全集/迅雷下载">风云2下载/DVD/高清/电影下载/全集/迅雷下载</a> (0)</li><li>2010-01-30 -- <a href="http://techguru.cn/dwelling-narrowness-download" title="蜗居全集下载地址 蜗居全集BT迅雷下载">蜗居全集下载地址 蜗居全集BT迅雷下载</a> (0)</li><li>2010-01-30 -- <a href="http://techguru.cn/the-twilight-saga-new-moon-download" title="暮光之城新月.The.Twilight.Saga.New.Moon电影下载字幕下载">暮光之城新月.The.Twilight.Saga.New.Moon电影下载字幕下载</a> (0)</li><li>2010-01-30 -- <a href="http://techguru.cn/avatar-download" title="电影阿凡达下载地址 Avatar.2009 BT下载电驴下载字幕下载">电影阿凡达下载地址 Avatar.2009 BT下载电驴下载字幕下载</a> (0)</li><li>2009-07-06 -- <a href="http://techguru.cn/lie-to-me-season-1-subtitle-note" title="Lie to me Season1字幕笔记">Lie to me Season1字幕笔记</a> (0)</li><li>2009-04-24 -- <a href="http://techguru.cn/prison-break-season-4-episode-17" title="[越狱第4季][17集]字幕笔记，字幕下载">[越狱第4季][17集]字幕笔记，字幕下载</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://techguru.cn/college-japanese-mp3-download/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>MySQL的ExecuteNonQuery()出现异常 “未处理 System.ArgumentOutOfRangeException”</title>
		<link>http://techguru.cn/mysql-executenonquery-argumentoutofrangeexception</link>
		<comments>http://techguru.cn/mysql-executenonquery-argumentoutofrangeexception#comments</comments>
		<pubDate>Fri, 12 Mar 2010 16:30:46 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[ArgumentOutOfRangeException]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[ExecuteNonQuery]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[转义]]></category>

		<guid isPermaLink="false">http://techguru.cn/?p=2344</guid>
		<description><![CDATA[错误内容如下：
未处理 System.ArgumentOutOfRangeException
 Message="索引和长度必须引用该字符串内的位置。\r\n参数名: length"
 Source="mscorlib"
 ParamName="length"
 StackTrace:
 在 System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
 在 MySql.Data.MySqlClient.MySqlTokenizer.NextParameter()
 在 MySql.Data.MySqlClient.Statement.InternalBindParameters(String sql, MySqlParameterCollection parameters, MySqlPacket packet)
 在 MySql.Data.MySqlClient.Statement.BindParameters()
 在 MySql.Data.MySqlClient.PreparableStatement.Execute()
 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
 在 DiguBackup.CDigu.BackupAsDb() 位置 d:\projects\DiguBackup\DiguBackup\Form1.cs:行号 245
 在 DiguBackup.Form1.btnBackup_Click(Object sender, EventArgs e) 位置 d:\projects\DiguBackup\DiguBackup\Form1.cs:行号 76
 在 System.Windows.Forms.Control.OnClick(EventArgs e)
 在 System.Windows.Forms.Button.OnClick(EventArgs e)
 在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
 在 [...]]]></description>
			<content:encoded><![CDATA[<p>错误内容如下：</p>
<pre>未处理 System.ArgumentOutOfRangeException
 Message="索引和长度必须引用该字符串内的位置。\r\n参数名: length"
 Source="mscorlib"
 ParamName="length"
 StackTrace:
 在 System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
 在 MySql.Data.MySqlClient.MySqlTokenizer.NextParameter()
 在 MySql.Data.MySqlClient.Statement.InternalBindParameters(String sql, MySqlParameterCollection parameters, MySqlPacket packet)
 在 MySql.Data.MySqlClient.Statement.BindParameters()
 在 MySql.Data.MySqlClient.PreparableStatement.Execute()
 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
 在 DiguBackup.CDigu.BackupAsDb() 位置 d:\projects\DiguBackup\DiguBackup\Form1.cs:行号 245
 在 DiguBackup.Form1.btnBackup_Click(Object sender, EventArgs e) 位置 d:\projects\DiguBackup\DiguBackup\Form1.cs:行号 76
 在 System.Windows.Forms.Control.OnClick(EventArgs e)
 在 System.Windows.Forms.Button.OnClick(EventArgs e)
 在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
 在 System.Windows.Forms.Control.WmMouseUp(Message&amp; m, MouseButtons button, Int32 clicks)
 在 System.Windows.Forms.Control.WndProc(Message&amp; m)
 在 System.Windows.Forms.ButtonBase.WndProc(Message&amp; m)
 在 System.Windows.Forms.Button.WndProc(Message&amp; m)
 在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)
 在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)
 在 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 在 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp; msg)
 在 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
 在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
 在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
 在 System.Windows.Forms.Application.Run(Form mainForm)
 在 DiguBackup.Program.Main() 位置 d:\projects\DiguBackup\DiguBackup\Program.cs:行号 18
 在 System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
 在 System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
 在 Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
 在 System.Threading.ThreadHelper.ThreadStart_Context(Object state)
 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 在 System.Threading.ThreadHelper.ThreadStart()
 InnerException:</pre>
<p>google到了此文 “<a href="http://kb.cnblogs.com/a/1573002/" target="_blank">用mysql相当多问题。不是说开源不好，可是拜托，争争气吧</a>” 的第五条，发现情况和这个几乎一样，看作者的语气对开源的东东都不怎么看好，并且说是源代码产生的问题，无法调试。我就郁闷死了。难不成要换种数据库？</p>
<p>这个是mysql官方09年的一个bug讨论贴 <a href="http://bugs.mysql.com/bug.php?id=44960 " target="_blank">http://bugs.mysql.com/bug.php?id=44960 </a>， 我开始怀疑是sql语句有需要转义的字符，于是查看sql语句：</p>
<pre>insert into status(created_at,text,picPath,source,in_reply_to_status_id,in_reply_to_user_id,in_reply_to_user_name,in_reply_to_screen_name,favorited) values ('Mon Nov 16 21:02:03 +0800 2009','被杨教授电击的后果完全可以详见《飞越疯人院》（《One Flew Over the Cuckoo's Nest》）','','网站',0,0,'','','false')</pre>
<p>这样可能看不清楚，拷贝到navicat和sqlserver management studio里面看看：</p>
<p><a href="http://techguru.cn/wp-content/uploads/2010/03/navicat_sql_escape.png" rel="lightbox[2344]"><img class="alignnone size-medium wp-image-2345" title="navicat_sql_escape" src="http://techguru.cn/wp-content/uploads/2010/03/navicat_sql_escape-300x26.png" alt="" width="300" height="26" /></a></p>
<p><a href="http://techguru.cn/wp-content/uploads/2010/03/sql_management_studio_sqlstatement_escape.png" rel="lightbox[2344]"><img class="alignnone size-medium wp-image-2346" title="sql_management_studio_sqlstatement_escape" src="http://techguru.cn/wp-content/uploads/2010/03/sql_management_studio_sqlstatement_escape-300x19.png" alt="" width="300" height="19" /></a></p>
<p>Cuckoo后面的单引号没有被转义，所以肯定要报错。</p>
<p>mysql中字符转义的方法是在前面加上反斜杠 \ 字符。</p>
<p>可以将字符里面的 &#8216; 替换为 \&#8217; ,直接用c#里面的replace(oldstring,newstring)替换。</p>
<p>我以为是replace(&#8220;&#8216;&#8221;,&#8221;\&#8217;&#8221;) ,其实是replace(&#8220;&#8216;&#8221;,@&#8221;\&#8217;&#8221;)。@是用来避免转义，有啥字符输出啥字符的。</p>
<h3  class="related_post_title">也许你对以下文章感兴趣</h3><ul class="related_post"><li>2010-03-15 -- <a href="http://techguru.cn/mysql-str_to_date" title="mysql str_to_date 字符串转日期类型">mysql str_to_date 字符串转日期类型</a> (0)</li><li>2010-03-12 -- <a href="http://techguru.cn/digu-backup" title="嘀咕备份">嘀咕备份</a> (0)</li><li>2010-01-08 -- <a href="http://techguru.cn/mysql-root-password" title="忘记mysql root密码">忘记mysql root密码</a> (0)</li><li>2009-03-29 -- <a href="http://techguru.cn/jionged-by-ncre" title="今天考二级上机作到个错题">今天考二级上机作到个错题</a> (2)</li><li>2007-06-11 -- <a href="http://techguru.cn/using-mysql-to-maintain-my-websites-database" title="安装使用mysql操作我网站的数据库">安装使用mysql操作我网站的数据库</a> (0)</li><li>2007-06-10 -- <a href="http://techguru.cn/error-1045-28000-access-denied-for-user" title="ERROR 1045 (28000): Access denied for user ">ERROR 1045 (28000): Access denied for user </a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://techguru.cn/mysql-executenonquery-argumentoutofrangeexception/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>嘀咕备份</title>
		<link>http://techguru.cn/digu-backup</link>
		<comments>http://techguru.cn/digu-backup#comments</comments>
		<pubDate>Fri, 12 Mar 2010 15:43:04 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[digu]]></category>
		<category><![CDATA[digubackup]]></category>
		<category><![CDATA[嘀咕]]></category>
		<category><![CDATA[嘀咕备份]]></category>

		<guid isPermaLink="false">http://techguru.cn/?p=2339</guid>
		<description><![CDATA[一.简介
digubackup是c#写的一个嘀咕微博数据备份程序。
可以备份指定id的文本消息为xml文件，可以备份图片，可以将数据导入到mySQL数据库，通过php网页仿嘀咕网站查看数据。
二. 安装使用
1.首先要保证机子上安装有.net框架2.0及其以上版本，vista,win 7自带,xp及其以下需要安装。
2.运行gac.bat。
3.运行DiguBackup.exe。
三.注意
1.&#8221;备份为xml文件&#8221;选项会备份嘀咕文本消息和图片消息。
2.&#8221;备份到mySQL数据库&#8221;选项会备份嘀咕文本消息和图片消息，并将数据写入mySQL数据库。
3.如果选择了&#8221;备份到mySQL数据库&#8221;，可以以本地网站的形式查看备份数据，需要安装好了php mysql之后将web目录拷贝到网站，
修改conn.php里面的mysql_connect(&#8220;localhost&#8221;, &#8220;root&#8221;, &#8220;x&#8221;)，
将&#8221;localhost&#8221;,&#8221;root&#8221;,&#8221;x&#8221;修改为你的mysql主机地址,用户名,密码将img目录拷贝到web\img目录。
四.版本
1.0(2010.03.12)    发布
1.1(????.??.??) ??
五.下载
程序 http://techguru.cn/wp-content/uploads/2010/03/digubackup-bin.zip
源码 http://techguru.cn/wp-content/uploads/2010/03/digubackup-src.zip
五.关于
作者 tunpishuang
项目主页 http://techguru.cn/digu-backup
也许你对以下文章感兴趣2010-03-13 -- MySQL的ExecuteNonQuery()出现异常 “未处理 System.ArgumentOutOfRangeException” (0)2009-03-29 -- 今天考二级上机作到个错题 (2)2008-11-07 -- .NET 版本探测器 (3)]]></description>
			<content:encoded><![CDATA[<div id="attachment_2340" class="wp-caption aligncenter" style="width: 302px"><a href="http://techguru.cn/wp-content/uploads/2010/03/digu_backup_ui.png" rel="lightbox[2339]"><img class="size-medium wp-image-2340 " title="嘀咕备份" src="http://techguru.cn/wp-content/uploads/2010/03/digu_backup_ui-292x300.png" alt="嘀咕备份" width="292" height="300" /></a><p class="wp-caption-text">嘀咕备份</p></div>
<h3><span style="text-decoration: underline;">一.简介</span></h3>
<p>digubackup是c#写的一个嘀咕微博数据备份程序。<br />
可以备份指定id的文本消息为xml文件，可以备份图片，可以将数据导入到mySQL数据库，通过php网页仿嘀咕网站查看数据。</p>
<h3><span style="text-decoration: underline;">二. 安装使用</span></h3>
<p>1.首先要保证机子上安装有.net框架2.0及其以上版本，vista,win 7自带,xp及其以下需要安装。<br />
2.运行gac.bat。<br />
3.运行DiguBackup.exe。</p>
<h3><span style="text-decoration: underline;">三.注意</span></h3>
<p>1.&#8221;备份为xml文件&#8221;选项会备份嘀咕文本消息和图片消息。<br />
2.&#8221;备份到mySQL数据库&#8221;选项会备份嘀咕文本消息和图片消息，并将数据写入mySQL数据库。<br />
3.如果选择了&#8221;备份到mySQL数据库&#8221;，可以以本地网站的形式查看备份数据，需要安装好了php mysql之后将web目录拷贝到网站，<br />
修改conn.php里面的mysql_connect(&#8220;localhost&#8221;, &#8220;root&#8221;, &#8220;x&#8221;)，<br />
将&#8221;localhost&#8221;,&#8221;root&#8221;,&#8221;x&#8221;修改为你的mysql主机地址,用户名,密码将img目录拷贝到web\img目录。</p>
<h3><span style="text-decoration: underline;">四.版本</span></h3>
<p>1.0(2010.03.12)    发布<br />
1.1(????.??.??) ??</p>
<h3><span style="text-decoration: underline;">五.下载</span></h3>
<p>程序 <a href="http://techguru.cn/wp-content/uploads/2010/03/digubackup-bin.zip" target="_self">http://techguru.cn/wp-content/uploads/2010/03/digubackup-bin.zip</a><br />
源码 <a href="http://techguru.cn/wp-content/uploads/2010/03/digubackup-src.zip" target="_self">http://techguru.cn/wp-content/uploads/2010/03/digubackup-src.zip</a></p>
<h3><span style="text-decoration: underline;">五.关于</span></h3>
<p>作者 tunpishuang<br />
项目主页 <a href="http://techguru.cn/digu-backup" target="_self">http://techguru.cn/digu-backup</a></p>
<h3  class="related_post_title">也许你对以下文章感兴趣</h3><ul class="related_post"><li>2010-03-13 -- <a href="http://techguru.cn/mysql-executenonquery-argumentoutofrangeexception" title="MySQL的ExecuteNonQuery()出现异常 “未处理 System.ArgumentOutOfRangeException”">MySQL的ExecuteNonQuery()出现异常 “未处理 System.ArgumentOutOfRangeException”</a> (0)</li><li>2009-03-29 -- <a href="http://techguru.cn/jionged-by-ncre" title="今天考二级上机作到个错题">今天考二级上机作到个错题</a> (2)</li><li>2008-11-07 -- <a href="http://techguru.cn/dot-net-version-detector" title=".NET 版本探测器">.NET 版本探测器</a> (3)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://techguru.cn/digu-backup/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>日记 2010.3.4</title>
		<link>http://techguru.cn/diary-2010-3-4</link>
		<comments>http://techguru.cn/diary-2010-3-4#comments</comments>
		<pubDate>Thu, 04 Mar 2010 14:19:38 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[囧]]></category>
		<category><![CDATA[手机]]></category>

		<guid isPermaLink="false">http://techguru.cn/?p=2337</guid>
		<description><![CDATA[2010年大年过了，新的生活应该开始了。
从去年11月到今年2月初上班打工生活算是告一段落。
2月27号回学校报到，很倒霉，学生证丢了，cet成绩单因不明原因非个人因素丢失，接下来回家过大年的车上把手机k510c丢了。
学生证丢得是最有水平的，zqx同学到我们寝室来找我修电脑，弄好了，出寝室的时候要求本人的学生证。因为寝室6楼比较难跑，所以zqx同学叫我们道长同学将学生证仍到楼下。在仍之前我特意强调要仍外面一点，最好绑个重点的东西。结果话音刚落，学生证就飘荡了下来，好嘛，飘不再了。过后几天发现在2楼的阳台，可惜了，那个时候在放寒假，2楼寝室没人。等开学的时候，证已经不见了，我现在也在默默的祈祷证飘到了寝室里面，而非飘到地上被人当垃圾扫走。
现在大学的cet还是考得如火如荼。09年6月的6级成绩单，全班就只有我一个人没有得到。按照常理是教务处发给班主任，班主任直接发给学生或者叫xx委员代劳。事情已经过去了半年，没有人再追查这个事情了，最近听说要用cet成绩单来办理证书，才开始着急起来，毕竟那玩意儿也是招聘的一个筹码。打电话给班主任，班上有“委员”官衔的都问了，互相推脱，不过有个女生还是挺上心的，pj同学，谢谢你！ 问了我们学院的教务处，没有相关记录，然后那个老师给我说：重考。（囧。。。。）首先我们不要说有没有激情重考，关键是我还有这么好的运气吗？你以为每个人都可以中500万？shit！还有个办法，叫我到新校区的教务中心去开证明。在这里我强烈bs我们班主任，恶心至极，重来没有把学生的事情放在心上，自己的任务完成就万事大吉。当我把成绩证明交给她的时候，她对我说：你拿证明给我干什么？天啊！不是你丫的叫我去办这个证明的吗？更雷人的是，我们需要交什么材料，交了后下发什么证明、证书啊什么的，她一无所知。
那天正好是农历15号，回家准备吃点好吃的，本来打算坐jf的顺风车，最后还是坐公交，可谁知那天公交相当的拥挤，可谁知一拥挤我的手机就在衣服的口袋的不见了。吓得我浑身发冷汗。在地上找了N久没有发现。当时吓傻了，没有记录公交车的车牌号，兴许可以调到录像找到那个zui娃子。虽然那个手机07年买成1k出头，用了三年。但毕竟有很深的感情了，而且上面有私人信心，怕被居心不良的zui娃子所利用。下车后打电话给丢了的手机，已经关机了。回家继续打电话，可以打通，但是没有人接。
丢了2个手机了，自己确实很不小心。没有用到1年的N72和这个总价值2k多。虽然自己用手机算是完的了，但是还是用了很多个了。初中的时候没有手机，大老板的同学买了一个彩屏的moto机，大家都当稀奇看。貌似我第一次用手机是高中的时候，老爸到波导（bird）鸟手机,后来不知道是进水了还是丢了，然后用mum的tcl那个红色的翻盖机，同样是黑白屏的，然后是wss的三星翻盖的，终于彩屏了，还有两个很卡的游戏，支持amr铃声，牛x的64和铉，然后是jf的NEC 830，这个手机陪我度过了最最寂寞的高三生活，那个手机拿在手里就是一种霸气，那个时候不喜欢上课，同时移动推出了20RMB不限制上网流量的套餐，所以上网很多，上课的时候就看网页，当然免不了一些h网页。那个时候同学们下手机游戏都借用我的卡，那个时候姑且可以称我为“手机达人”吧。然后买了MOTO L7，那速度完全就是一种折磨，在网上花了300大洋买了黑莓7230的翻新机，上网没有破解，就寂寞的300元丢给了别人，后来买了N72，没用到一年就丢了，后来捡到一个V3，外观确实不错，可惜速度还是很慢，经常黑屏，待机时间完全不行，后来用mum的k510c到现在，被zui娃子摸了，今天用sn的糯鸡鸭8600 luna。唉，手机使用史报告完毕。
bird-&#62;tcl-&#62;samsung-&#62;nec 830-&#62;moto l7-&#62;bb 7230-&#62;n72-&#62;v3-&#62;k510c-&#62;8600 luna..
今天在家里在网上google搜索了N就手机丢失失而复得的方法，最后发现了一个“蠢招”，也许确实很蠢，但免不了遇上笨贼。方法是:我装成是手机亲戚给他发送短信说要汇款给他，把zui娃子的银行卡和姓名搞到，也许能够得到一些线索，今天弄了一下午，zui娃子已经把银行卡号和姓名给了我。凑巧，哥是民警，叫他帮我查了，现在暂无回音，我很期待。
说来真是讽刺，前些日子看了电影《小武》对小偷还有一些怜悯之情，觉得都是混口饭吃，大家都不容易。那个时候我是没有设身处地的为受害者想一想，现在自己亲身做了一个受害者，才发现小偷不值得怜悯。做犀利哥也不做小偷，这是道德底线。
zqx同学打算赔偿我丢证的损失（其实是我主动要求赔偿的，现在觉得没这个必要，这个事情大家都有错，主要是我太屈服于生活大妈的管教了，我要是野蛮一点、无理取闹一点就莫有这档子事儿发生了），下午和zqx同学聊了一下午，关于工作、人生观、电影、社会、政治&#8230;..每次和人聊了很久，都发现是我的观点强奸了他们的理智的思维，把我最偏执的一面种植在他们的脑海，这不是聊天，是说教。
今天一下午的事情更新了sehe页面，荒废了将近1年的自考，明天开始复习《xxxx选读》好吗？好！
闲暇时间在写嘀咕备份程序，估计一个星期内可以搞定吧。
让我叹息了半年的饭否资料终于回来了，wangxin还是履行了他的承诺，只是这个等待太漫长。
有时候发现自己做事情太讲求条理性了，没有更新sehe页面，心里总是觉得考试复习就不能开始。就像A是B的前提，A没完成，B肯定不能完成。这是不是有问题呢？
也许你对以下文章感兴趣2007-06-29 -- 永别了黑莓7230 (0)2010-01-21 -- 辞掉第一份工作 (1)2010-01-08 -- 某工作日 (1)2009-12-27 -- 平安夜、毕业照、散伙饭 (3)2009-12-21 -- TechGuru开通wap访问 (0)2009-12-01 -- 上班生活开始了 (4)2009-11-17 -- 跑到丽江切耍了哈 (0)2009-11-07 -- 第三次面试 (1)2009-11-01 -- 第二个单位的面试 (2)2009-10-28 -- 感冒、手关节痛、找工作、将来半年内打算 (3)]]></description>
			<content:encoded><![CDATA[<p>2010年大年过了，新的生活应该开始了。</p>
<p>从去年11月到今年2月初上班打工生活算是告一段落。</p>
<p>2月27号回学校报到，很倒霉，学生证丢了，cet成绩单因不明原因非个人因素丢失，接下来回家过大年的车上把手机k510c丢了。</p>
<p><span style="text-decoration: underline;">学生证</span>丢得是最有水平的，zqx同学到我们寝室来找我修电脑，弄好了，出寝室的时候要求本人的学生证。因为寝室6楼比较难跑，所以zqx同学叫我们道长同学将学生证仍到楼下。在仍之前我特意强调要仍外面一点，最好绑个重点的东西。结果话音刚落，学生证就飘荡了下来，好嘛，飘不再了。过后几天发现在2楼的阳台，可惜了，那个时候在放寒假，2楼寝室没人。等开学的时候，证已经不见了，我现在也在默默的祈祷证飘到了寝室里面，而非飘到地上被人当垃圾扫走。</p>
<p>现在大学的<span style="text-decoration: underline;">cet</span>还是考得如火如荼。09年6月的6级成绩单，全班就只有我一个人没有得到。按照常理是教务处发给班主任，班主任直接发给学生或者叫xx委员代劳。事情已经过去了半年，没有人再追查这个事情了，最近听说要用cet成绩单来办理证书，才开始着急起来，毕竟那玩意儿也是招聘的一个筹码。打电话给班主任，班上有“委员”官衔的都问了，互相推脱，不过有个女生还是挺上心的，pj同学，谢谢你！ 问了我们学院的教务处，没有相关记录，然后那个老师给我说：重考。（囧。。。。）首先我们不要说有没有激情重考，关键是我还有这么好的运气吗？你以为每个人都可以中500万？shit！还有个办法，叫我到新校区的教务中心去开证明。在这里我强烈bs我们班主任，恶心至极，重来没有把学生的事情放在心上，自己的任务完成就万事大吉。当我把成绩证明交给她的时候，她对我说：你拿证明给我干什么？天啊！不是你丫的叫我去办这个证明的吗？更雷人的是，我们需要交什么材料，交了后下发什么证明、证书啊什么的，她一无所知。</p>
<p>那天正好是农历15号，回家准备吃点好吃的，本来打算坐jf的顺风车，最后还是坐公交，可谁知那天公交相当的拥挤，可谁知一拥挤我的<span style="text-decoration: underline;">手机</span>就在衣服的口袋的不见了。吓得我浑身发冷汗。在地上找了N久没有发现。当时吓傻了，没有记录公交车的车牌号，兴许可以调到录像找到那个zui娃子。虽然那个手机07年买成1k出头，用了三年。但毕竟有很深的感情了，而且上面有私人信心，怕被居心不良的zui娃子所利用。下车后打电话给丢了的手机，已经关机了。回家继续打电话，可以打通，但是没有人接。</p>
<p>丢了2个手机了，自己确实很不小心。没有用到1年的N72和这个总价值2k多。虽然自己用手机算是完的了，但是还是用了很多个了。初中的时候没有手机，大老板的同学买了一个彩屏的moto机，大家都当稀奇看。貌似我第一次用手机是高中的时候，老爸到波导（bird）鸟手机,后来不知道是进水了还是丢了，然后用mum的tcl那个红色的翻盖机，同样是黑白屏的，然后是wss的三星翻盖的，终于彩屏了，还有两个很卡的游戏，支持amr铃声，牛x的64和铉，然后是jf的NEC 830，这个手机陪我度过了最最寂寞的高三生活，那个手机拿在手里就是一种霸气，那个时候不喜欢上课，同时移动推出了20RMB不限制上网流量的套餐，所以上网很多，上课的时候就看网页，当然免不了一些h网页。那个时候同学们下手机游戏都借用我的卡，那个时候姑且可以称我为“手机达人”吧。然后买了MOTO L7，那速度完全就是一种折磨，在网上花了300大洋买了黑莓7230的翻新机，上网没有破解，就寂寞的300元丢给了别人，后来买了N72，没用到一年就丢了，后来捡到一个V3，外观确实不错，可惜速度还是很慢，经常黑屏，待机时间完全不行，后来用mum的k510c到现在，被zui娃子摸了，今天用sn的糯鸡鸭8600 luna。唉，手机使用史报告完毕。</p>
<p>bird-&gt;tcl-&gt;samsung-&gt;nec 830-&gt;moto l7-&gt;bb 7230-&gt;n72-&gt;v3-&gt;k510c-&gt;8600 luna..</p>
<p>今天在家里在网上google搜索了N就手机丢失失而复得的方法，最后发现了一个“蠢招”，也许确实很蠢，但免不了遇上笨贼。方法是:我装成是手机亲戚给他发送短信说要汇款给他，把zui娃子的银行卡和姓名搞到，也许能够得到一些线索，今天弄了一下午，zui娃子已经把银行卡号和姓名给了我。凑巧，哥是民警，叫他帮我查了，现在暂无回音，我很期待。</p>
<p>说来真是讽刺，前些日子看了电影《小武》对小偷还有一些怜悯之情，觉得都是混口饭吃，大家都不容易。那个时候我是没有设身处地的为受害者想一想，现在自己亲身做了一个受害者，才发现小偷不值得怜悯。做<span style="text-decoration: underline;">犀利哥</span>也不做小偷，这是道德底线。</p>
<p>zqx同学打算赔偿我丢证的损失（其实是我主动要求赔偿的，现在觉得没这个必要，这个事情大家都有错，主要是我太屈服于生活大妈的管教了，我要是野蛮一点、无理取闹一点就莫有这档子事儿发生了），下午和zqx同学聊了一下午，关于工作、人生观、电影、社会、政治&#8230;..每次和人聊了很久，都发现是我的观点强奸了他们的理智的思维，把我最偏执的一面种植在他们的脑海，这不是聊天，是说教。</p>
<p>今天一下午的事情更新了<a href="http://techguru.cn/sehe-roadmap" target="_self">sehe页面</a>，荒废了将近1年的自考，明天开始复习《xxxx选读》好吗？好！</p>
<p>闲暇时间在写<span style="text-decoration: underline;">嘀咕备份程序</span>，估计一个星期内可以搞定吧。</p>
<p>让我叹息了半年的饭否资料终于回来了，wangxin还是履行了他的承诺，只是这个等待太漫长。</p>
<p>有时候发现自己做事情太讲求条理性了，没有更新sehe页面，心里总是觉得考试复习就不能开始。就像A是B的前提，A没完成，B肯定不能完成。这是不是有问题呢？</p>
<h3  class="related_post_title">也许你对以下文章感兴趣</h3><ul class="related_post"><li>2007-06-29 -- <a href="http://techguru.cn/kiss-blackberry-7230-goodbye" title="永别了黑莓7230">永别了黑莓7230</a> (0)</li><li>2010-01-21 -- <a href="http://techguru.cn/resigned-the-1st-job" title="辞掉第一份工作">辞掉第一份工作</a> (1)</li><li>2010-01-08 -- <a href="http://techguru.cn/some-working-day" title="某工作日">某工作日</a> (1)</li><li>2009-12-27 -- <a href="http://techguru.cn/christmas-eve-09" title="平安夜、毕业照、散伙饭">平安夜、毕业照、散伙饭</a> (3)</li><li>2009-12-21 -- <a href="http://techguru.cn/access-techguru-by-wap" title="TechGuru开通wap访问">TechGuru开通wap访问</a> (0)</li><li>2009-12-01 -- <a href="http://techguru.cn/working-days-is-coming" title="上班生活开始了">上班生活开始了</a> (4)</li><li>2009-11-17 -- <a href="http://techguru.cn/travel-in-li-jiang-or-one-night-stand-in-li-jiang" title="跑到丽江切耍了哈">跑到丽江切耍了哈</a> (0)</li><li>2009-11-07 -- <a href="http://techguru.cn/the-third-interview" title="第三次面试">第三次面试</a> (1)</li><li>2009-11-01 -- <a href="http://techguru.cn/the-second-interview" title="第二个单位的面试">第二个单位的面试</a> (2)</li><li>2009-10-28 -- <a href="http://techguru.cn/cold-thritis-plan-and-job" title="感冒、手关节痛、找工作、将来半年内打算">感冒、手关节痛、找工作、将来半年内打算</a> (3)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://techguru.cn/diary-2010-3-4/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>兽兽之后成都工行女郑璇也来了</title>
		<link>http://techguru.cn/zhengxuan</link>
		<comments>http://techguru.cn/zhengxuan#comments</comments>
		<pubDate>Thu, 25 Feb 2010 05:18:27 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[工行女]]></category>
		<category><![CDATA[郑璇]]></category>

		<guid isPermaLink="false">http://techguru.cn/?p=2332</guid>
		<description><![CDATA[ 
一个门接着一个门啊，看都看不过来。ML是他们的权利，围观是我们的福利。请ctrl+A[via]
也许你对以下文章感兴趣2009-12-06 -- 送8个google wave邀请 (23)2010-03-14 -- 《大学日本语》配套听力mp3下载 (14)2008-12-15 -- 触摸屏幕上玩魔兽 (10)2008-11-08 -- ISODisk-免费ISO挂载，创建工具 (8)2009-01-08 -- [IT狂人].The.IT.Crowd.第1,2,3季字幕下载，剧目下载，字幕笔记 (8)2008-10-07 -- Mail Goggles-Gmail lab研究出来的脑残品 (7)2008-11-10 -- 提前来点圣诞节气氛 (7)2008-11-16 -- 1111 to 1116 (7)2008-10-11 -- 网站改版 (6)2008-12-05 -- 尝试Google Friend Connect (6)]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ffffff;"> </span></p>
<p>一个门接着一个门啊，看都看不过来。ML是他们的权利，围观是我们的福利。请ctrl+A[<a href="http://www.icylife.net/yunshu/show.php?id=757" target="_blank">via</a>]</p>
<h3  class="related_post_title">也许你对以下文章感兴趣</h3><ul class="related_post"><li>2009-12-06 -- <a href="http://techguru.cn/send-8-google-wave-invitation" title="送8个google wave邀请">送8个google wave邀请</a> (23)</li><li>2010-03-14 -- <a href="http://techguru.cn/college-japanese-mp3-download" title="《大学日本语》配套听力mp3下载">《大学日本语》配套听力mp3下载</a> (14)</li><li>2008-12-15 -- <a href="http://techguru.cn/warcraft-on-touchscreen" title="触摸屏幕上玩魔兽">触摸屏幕上玩魔兽</a> (10)</li><li>2008-11-08 -- <a href="http://techguru.cn/isodisk" title="ISODisk-免费ISO挂载，创建工具">ISODisk-免费ISO挂载，创建工具</a> (8)</li><li>2009-01-08 -- <a href="http://techguru.cn/the-it-crowd-all" title="[IT狂人].The.IT.Crowd.第1,2,3季字幕下载，剧目下载，字幕笔记">[IT狂人].The.IT.Crowd.第1,2,3季字幕下载，剧目下载，字幕笔记</a> (8)</li><li>2008-10-07 -- <a href="http://techguru.cn/a-inefficient-named-mail-goggles" title="Mail Goggles-Gmail lab研究出来的脑残品">Mail Goggles-Gmail lab研究出来的脑残品</a> (7)</li><li>2008-11-10 -- <a href="http://techguru.cn/got-some-xmas-atmosphere-in-advance" title="提前来点圣诞节气氛">提前来点圣诞节气氛</a> (7)</li><li>2008-11-16 -- <a href="http://techguru.cn/1111-to-1116" title="1111 to 1116">1111 to 1116</a> (7)</li><li>2008-10-11 -- <a href="http://techguru.cn/site-redesigned" title="网站改版">网站改版</a> (6)</li><li>2008-12-05 -- <a href="http://techguru.cn/try-google-friend-connect" title="尝试Google Friend Connect">尝试Google Friend Connect</a> (6)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://techguru.cn/zhengxuan/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>《2030肢解中国—美国的全球战略与中国的危机》戴旭上校在母校演讲的视频完整版下载</title>
		<link>http://techguru.cn/daixus-speech-about-chinas-crisis-in-2030</link>
		<comments>http://techguru.cn/daixus-speech-about-chinas-crisis-in-2030#comments</comments>
		<pubDate>Sat, 20 Feb 2010 06:11:51 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[下载]]></category>
		<category><![CDATA[戴旭]]></category>
		<category><![CDATA[禁]]></category>

		<guid isPermaLink="false">http://techguru.cn/?p=2329</guid>
		<description><![CDATA[下载地址：
ed2k://&#124;file&#124;2030%E8%82%A2%E8%A7%A3%E4%B8%AD%E5%9B%BD-%E7%BE%8E%E5%9B%BD%E5%85%A8%E7%90%83%E6%88%98%E7%95%A5%E4%B8%8E%E4%B8%AD%E5%9B%BD%E5%8D%B1%E6%9C%BA%EF%BC%88%E6%88%B4%E6%97%AD%EF%BC%89-%E4%BC%98%E9%85%B7.flv&#124;268138528&#124;463B900026426595A967C435F18DB252&#124;h=B6TKAUYKDXMKTI5LKMYG5SWNKNXXGNJS&#124;/
用电骡或迅雷下载。
youtube在线观看：http://docs.google.com/View?id=dhh5gtxb_458fhvj5zc5 【翻墙的需要】。[update 2010.2.22]
也许你对以下文章感兴趣2010-03-14 -- 《大学日本语》配套听力mp3下载 (14)2010-01-30 -- 风云2下载/DVD/高清/电影下载/全集/迅雷下载 (0)2010-01-30 -- 蜗居全集下载地址 蜗居全集BT迅雷下载 (0)2010-01-30 -- 暮光之城新月.The.Twilight.Saga.New.Moon电影下载字幕下载 (0)2010-01-30 -- 电影阿凡达下载地址 Avatar.2009 BT下载电驴下载字幕下载 (0)2009-05-26 -- 日语（第二外语）自考试题及答案打包下载&#038;本人近况 (6)2009-03-14 -- 暮光之城 [Twilight] 字幕笔记，字幕下载 (0)2009-01-14 -- The IT Crowd(IT狂人)片头曲,主题曲下载 (3)2009-01-08 -- [IT狂人].The.IT.Crowd.第1,2,3季字幕下载，剧目下载，字幕笔记 (8)2009-01-03 -- 用Firefox扩展下载Youtube高清视频 (2)]]></description>
			<content:encoded><![CDATA[<p>下载地址：</p>
<p><a href="ed2k://|file|2030%E8%82%A2%E8%A7%A3%E4%B8%AD%E5%9B%BD-%E7%BE%8E%E5%9B%BD%E5%85%A8%E7%90%83%E6%88%98%E7%95%A5%E4%B8%8E%E4%B8%AD%E5%9B%BD%E5%8D%B1%E6%9C%BA%EF%BC%88%E6%88%B4%E6%97%AD%EF%BC%89-%E4%BC%98%E9%85%B7.flv|268138528|463B900026426595A967C435F18DB252|h=B6TKAUYKDXMKTI5LKMYG5SWNKNXXGNJS|/" target="_blank">ed2k://|file|2030%E8%82%A2%E8%A7%A3%E4%B8%AD%E5%9B%BD-%E7%BE%8E%E5%9B%BD%E5%85%A8%E7%90%83%E6%88%98%E7%95%A5%E4%B8%8E%E4%B8%AD%E5%9B%BD%E5%8D%B1%E6%9C%BA%EF%BC%88%E6%88%B4%E6%97%AD%EF%BC%89-%E4%BC%98%E9%85%B7.flv|268138528|463B900026426595A967C435F18DB252|h=B6TKAUYKDXMKTI5LKMYG5SWNKNXXGNJS|/</a></p>
<p>用电骡或迅雷下载。</p>
<p>youtube在线观看：<a href="http://docs.google.com/View?id=dhh5gtxb_458fhvj5zc5" target="_blank">http://docs.google.com/View?id=dhh5gtxb_458fhvj5zc5</a> 【翻墙的需要】。[update 2010.2.22]</p>
<h3  class="related_post_title">也许你对以下文章感兴趣</h3><ul class="related_post"><li>2010-03-14 -- <a href="http://techguru.cn/college-japanese-mp3-download" title="《大学日本语》配套听力mp3下载">《大学日本语》配套听力mp3下载</a> (14)</li><li>2010-01-30 -- <a href="http://techguru.cn/the-storm-warriors-download" title="风云2下载/DVD/高清/电影下载/全集/迅雷下载">风云2下载/DVD/高清/电影下载/全集/迅雷下载</a> (0)</li><li>2010-01-30 -- <a href="http://techguru.cn/dwelling-narrowness-download" title="蜗居全集下载地址 蜗居全集BT迅雷下载">蜗居全集下载地址 蜗居全集BT迅雷下载</a> (0)</li><li>2010-01-30 -- <a href="http://techguru.cn/the-twilight-saga-new-moon-download" title="暮光之城新月.The.Twilight.Saga.New.Moon电影下载字幕下载">暮光之城新月.The.Twilight.Saga.New.Moon电影下载字幕下载</a> (0)</li><li>2010-01-30 -- <a href="http://techguru.cn/avatar-download" title="电影阿凡达下载地址 Avatar.2009 BT下载电驴下载字幕下载">电影阿凡达下载地址 Avatar.2009 BT下载电驴下载字幕下载</a> (0)</li><li>2009-05-26 -- <a href="http://techguru.cn/zikao-japanese-download" title="日语（第二外语）自考试题及答案打包下载&#038;本人近况">日语（第二外语）自考试题及答案打包下载&#038;本人近况</a> (6)</li><li>2009-03-14 -- <a href="http://techguru.cn/twilight" title="暮光之城 [Twilight] 字幕笔记，字幕下载">暮光之城 [Twilight] 字幕笔记，字幕下载</a> (0)</li><li>2009-01-14 -- <a href="http://techguru.cn/the-it-crowd-intro-music" title="The IT Crowd(IT狂人)片头曲,主题曲下载">The IT Crowd(IT狂人)片头曲,主题曲下载</a> (3)</li><li>2009-01-08 -- <a href="http://techguru.cn/the-it-crowd-all" title="[IT狂人].The.IT.Crowd.第1,2,3季字幕下载，剧目下载，字幕笔记">[IT狂人].The.IT.Crowd.第1,2,3季字幕下载，剧目下载，字幕笔记</a> (8)</li><li>2009-01-03 -- <a href="http://techguru.cn/download-youtube-video-in-hd-and-mp4-with-firefox-extension" title="用Firefox扩展下载Youtube高清视频">用Firefox扩展下载Youtube高清视频</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://techguru.cn/daixus-speech-about-chinas-crisis-in-2030/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>国内用户观看&amp;下载youtube视频方法</title>
		<link>http://techguru.cn/watch-and-download-youtube-for-domestic-netizen</link>
		<comments>http://techguru.cn/watch-and-download-youtube-for-domestic-netizen#comments</comments>
		<pubDate>Sat, 20 Feb 2010 05:29:44 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[gfw]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://techguru.cn/?p=2327</guid>
		<description><![CDATA[way 1 :
http://hloli.appspot.com/gfwtube
【在学校用不起自*由*门，找到上这个东东，是一个google应用,直连youtube,无代理，推特，脸书还没找到方法】

 
说明：此网站有流量及人数限制，每天最高80000访问量，前几天就出现过超过限制的情况（google 会提示 over  quota），不过过几个小时就恢复正常了，大家遇到这种情况要有耐心。
way 2 :
还有一个方法，前提是你使用的是Firefox浏览器，安装greasemonkey后，安装TubeWall-2脚本。这个就不能搜索视频了，只能碰到youtube.com具体视频的时候触发脚本。
也许你对以下文章感兴趣2009-03-29 -- youtube访问暂时解决方案 (2)2010-02-12 -- google街景潜水 (0)2009-04-11 -- 用Fresnel lens烤东西吃 (3)2009-01-03 -- 用Firefox扩展下载Youtube高清视频 (2)2008-09-26 -- 第一个YouTube互动游戏 (0)2008-09-17 -- Google实验室开放Google音频索引服务 (0)2008-09-16 -- Google Chrome的最及时升级方法 (0)2008-09-14 -- Google静态地图可以输出卫星图像了 (0)2008-09-14 -- Google幻灯片更新界面 (1)2008-09-12 -- Google文档的词典功能更新及其他 (0)]]></description>
			<content:encoded><![CDATA[<h1>way 1 :</h1>
<h1><span style="color: #000000; font-size: small;"><a href="http://hloli.appspot.com/gfwtube">http://hloli.appspot.com/gfwtube</a></span></h1>
<p><span style="color: #000000; font-size: small;">【在学校用不起自*由*门，找到上这个东东，是一个google应用,直连youtube,无代理，推特，脸书还没找到方法】<br />
</span></p>
<p><strong> </strong></p>
<p>说明：此网站有流量及人数限制，每天最高80000访问量，前几天就出现过超过限制的情况（google 会提示 over  quota），不过过几个小时就恢复正常了，大家遇到这种情况要有耐心。</p>
<h1>way 2 :</h1>
<p>还有一个方法，前提是你使用的是Firefox浏览器，安装greasemonkey后，安装<a href="http://userscripts.org/topics/45293" target="_blank">TubeWall-2</a>脚本。这个就不能搜索视频了，只能碰到youtube.com具体视频的时候触发脚本。</p>
<h3  class="related_post_title">也许你对以下文章感兴趣</h3><ul class="related_post"><li>2009-03-29 -- <a href="http://techguru.cn/youtube-access-temporary-solution" title="youtube访问暂时解决方案">youtube访问暂时解决方案</a> (2)</li><li>2010-02-12 -- <a href="http://techguru.cn/google-street-view-diving" title="google街景潜水">google街景潜水</a> (0)</li><li>2009-04-11 -- <a href="http://techguru.cn/cook-with-fresnel-lens" title="用Fresnel lens烤东西吃">用Fresnel lens烤东西吃</a> (3)</li><li>2009-01-03 -- <a href="http://techguru.cn/download-youtube-video-in-hd-and-mp4-with-firefox-extension" title="用Firefox扩展下载Youtube高清视频">用Firefox扩展下载Youtube高清视频</a> (2)</li><li>2008-09-26 -- <a href="http://techguru.cn/a-youtube-action-game" title="第一个YouTube互动游戏">第一个YouTube互动游戏</a> (0)</li><li>2008-09-17 -- <a href="http://techguru.cn/google-audio-indexing-now-on-google-labs" title="Google实验室开放Google音频索引服务">Google实验室开放Google音频索引服务</a> (0)</li><li>2008-09-16 -- <a href="http://techguru.cn/get-quicker-google-chrome-updates" title="Google Chrome的最及时升级方法">Google Chrome的最及时升级方法</a> (0)</li><li>2008-09-14 -- <a href="http://techguru.cn/google-static-maps-now-with-satellite-images-and-planet-paint" title="Google静态地图可以输出卫星图像了">Google静态地图可以输出卫星图像了</a> (0)</li><li>2008-09-14 -- <a href="http://techguru.cn/google-presentations-redesign" title="Google幻灯片更新界面">Google幻灯片更新界面</a> (1)</li><li>2008-09-12 -- <a href="http://techguru.cn/google-docs-thesaurus-and-more-live" title="Google文档的词典功能更新及其他">Google文档的词典功能更新及其他</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://techguru.cn/watch-and-download-youtube-for-domestic-netizen/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>google街景潜水</title>
		<link>http://techguru.cn/google-street-view-diving</link>
		<comments>http://techguru.cn/google-street-view-diving#comments</comments>
		<pubDate>Fri, 12 Feb 2010 07:42:15 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[fun]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google street view]]></category>

		<guid isPermaLink="false">http://techguru.cn/?p=2326</guid>
		<description><![CDATA[
老外真的是趣味，在大街上潜水，被google街景取景车给抓拍，也可能是为了出名吧。
[Via Reddit.]
也许你对以下文章感兴趣2010-02-20 -- 国内用户观看&#038;下载youtube视频方法  (2)2009-04-11 -- 用Fresnel lens烤东西吃 (3)2008-09-16 -- Google Chrome的最及时升级方法 (0)2008-09-14 -- Google静态地图可以输出卫星图像了 (0)2008-09-14 -- Google幻灯片更新界面 (1)2008-09-12 -- Google文档的词典功能更新及其他 (0)]]></description>
			<content:encoded><![CDATA[<p><a href="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=rugdeveien+39+bergen&amp;sll=59.913801,10.73882&amp;sspn=0.000449,0.001635&amp;ie=UTF8&amp;hq=&amp;hnear=Rugdeveien+39,+5097+Bergen,+Hordaland,+Norway&amp;t=h&amp;layer=c&amp;ll=60.360883,5.369267&amp;spn=0.001032,0.001996&amp;z=19&amp;cbll=60.360884,5.369468&amp;panoid=vIlVwLm8kDoxekaRJ0MwdQ&amp;cbp=12,284.43,,1,14.19"><img src="http://blogoscoped.com/files/google-street-view-scuba-diving.jpg" alt="" /></a></p>
<p>老外真的是趣味，在大街上潜水，被google街景取景车给抓拍，也可能是为了出名吧。<br />
[Via <a href="http://www.reddit.com/r/funny/comments/b04hf/get_back_here_google_street_view/">Reddit</a>.]</p>
<h3  class="related_post_title">也许你对以下文章感兴趣</h3><ul class="related_post"><li>2010-02-20 -- <a href="http://techguru.cn/watch-and-download-youtube-for-domestic-netizen" title="国内用户观看&#038;下载youtube视频方法 ">国内用户观看&#038;下载youtube视频方法 </a> (2)</li><li>2009-04-11 -- <a href="http://techguru.cn/cook-with-fresnel-lens" title="用Fresnel lens烤东西吃">用Fresnel lens烤东西吃</a> (3)</li><li>2008-09-16 -- <a href="http://techguru.cn/get-quicker-google-chrome-updates" title="Google Chrome的最及时升级方法">Google Chrome的最及时升级方法</a> (0)</li><li>2008-09-14 -- <a href="http://techguru.cn/google-static-maps-now-with-satellite-images-and-planet-paint" title="Google静态地图可以输出卫星图像了">Google静态地图可以输出卫星图像了</a> (0)</li><li>2008-09-14 -- <a href="http://techguru.cn/google-presentations-redesign" title="Google幻灯片更新界面">Google幻灯片更新界面</a> (1)</li><li>2008-09-12 -- <a href="http://techguru.cn/google-docs-thesaurus-and-more-live" title="Google文档的词典功能更新及其他">Google文档的词典功能更新及其他</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://techguru.cn/google-street-view-diving/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8216;JavaScript component  does not have a method named: &#8220;onLocationChange&#8221;&#8216; when calling method: [nsIWebProgressListener::onLocationChange]&#8220;</title>
		<link>http://techguru.cn/javascript-component-does-not-have-a-method-named-onlocationchange-when-calling-method-nsiwebprogresslisteneronlocationchange</link>
		<comments>http://techguru.cn/javascript-component-does-not-have-a-method-named-onlocationchange-when-calling-method-nsiwebprogresslisteneronlocationchange#comments</comments>
		<pubDate>Wed, 10 Feb 2010 02:05:24 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[flashgot]]></category>

		<guid isPermaLink="false">http://techguru.cn/?p=2324</guid>
		<description><![CDATA[在项目中使用jsTree，在firefox的js控制台输出以下错误：
[Exception... "'JavaScript component does not have a method named:
"onLocationChange"' when calling method:
[nsIWebProgressListener::onLocationChange]"  nsresult: "0x80570030
(NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "JS frame ::
file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js
:: sss_observe :: line 320"  data: no]
file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js
Line 320

[Exception... "'JavaScript component does not have a method named:
"onLocationChange"' when calling method:
[nsIWebProgressListener::onLocationChange]"  nsresult: "0x80570030
(NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "&#60;unknown&#62;"
data: no]

参考此文 此文 此文 还有此文得知是firebug和flashgot扩展到冲突造成的，把flashgot禁用或者卸载掉就可以了。
也许你对以下文章感兴趣2009-12-08 -- Firebug : console is not [...]]]></description>
			<content:encoded><![CDATA[<p>在项目中使用jsTree，在firefox的js控制台输出以下错误：</p>
<pre><em>[Exception... "'JavaScript component does not have a method named:
"onLocationChange"' when calling method:
[nsIWebProgressListener::onLocationChange]"  nsresult: "0x80570030
(NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "JS frame ::
file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js
:: sss_observe :: line 320"  data: no]
file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js
Line 320

[Exception... "'JavaScript component does not have a method named:
"onLocationChange"' when calling method:
[nsIWebProgressListener::onLocationChange]"  nsresult: "0x80570030
(NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "&lt;unknown&gt;"
data: no]</em>
</pre>
<p>参考<a href="http://lovyujy.blogspot.com/2010_01_01_archive.html#8903949312452381561" target="_blank">此文</a> <a href="http://old.nabble.com/Repeated-onLocationChange-Errors-td27324002.html" target="_blank">此文</a> <a href="http://code.google.com/p/fbug/issues/detail?id=2753" target="_blank">此文</a> 还有<a href="http://forums.informaction.com/viewtopic.php?f=6&amp;t=3685&amp;p=15599 " target="_blank">此文</a>得知是firebug和flashgot扩展到冲突造成的，把flashgot禁用或者卸载掉就可以了。</p>
<h3  class="related_post_title">也许你对以下文章感兴趣</h3><ul class="related_post"><li>2009-12-08 -- <a href="http://techguru.cn/firebug-console-is-not-defined" title="Firebug : console is not defined">Firebug : console is not defined</a> (0)</li><li>2009-08-14 -- <a href="http://techguru.cn/firefox-iceweasel-kde4-theme" title="iceweasel[firefox]的kde4主题:KFirefox">iceweasel[firefox]的kde4主题:KFirefox</a> (0)</li><li>2009-05-27 -- <a href="http://techguru.cn/firefox-error-203" title="Firefox 无法将文件安装至 http://xxxx原因为: 不预期的安装错误 详情请查看错误控制台日志。 -203">Firefox 无法将文件安装至 http://xxxx原因为: 不预期的安装错误 详情请查看错误控制台日志。 -203</a> (5)</li><li>2009-04-10 -- <a href="http://techguru.cn/widerbug" title="Widerbug:宽屏Firebug">Widerbug:宽屏Firebug</a> (0)</li><li>2008-11-20 -- <a href="http://techguru.cn/custom-firefox-default-cache-directory" title="自定义Firefox默认缓存目录">自定义Firefox默认缓存目录</a> (5)</li><li>2008-09-14 -- <a href="http://techguru.cn/anycolor-tweaks-the-default-colors-of-firefoxs-chrome" title="任意改变 Firefox 窗口背景色的扩展 AnyColor">任意改变 Firefox 窗口背景色的扩展 AnyColor</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://techguru.cn/javascript-component-does-not-have-a-method-named-onlocationchange-when-calling-method-nsiwebprogresslisteneronlocationchange/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
