<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_或曰农夫</title><subtitle type="text">在我的一亩三分试验田,我是花匠,抑或是勤恳的农夫,犁地浇水很辛苦,却在快乐中成长,清晨听悦耳的鸟鸣,暮霭看那袅袅炊烟...</subtitle><id>http://feed.cnblogs.com/blog/u/37025/rss</id><updated>2010-12-02T07:33:52Z</updated><author><name>小牛大牛</name><uri>http://www.cnblogs.com/gugunet/</uri></author><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gugunet/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/37025/rss"/><entry><id>http://www.cnblogs.com/gugunet/archive/2010/06/28/1766773.html</id><title type="text">关于C#和Java平台的MD5</title><summary type="text">客户的Java平台，使用了spring框架自带的MD5方法来加密，我的是C#下面的MD5加密方法，我这边的加密方法只要穿字符串就行了，不要密钥，结果他那边Java平台里的MD5加密是有密钥的而且使用的是动态密钥，然后查了一下Spring的加密方式，http://blog.sina.com.cn/s/blog_4c0172430100ckmk.html。这就有点不知道怎么办了，我不知道spring的...</summary><published>2010-06-28T07:25:00Z</published><updated>2010-06-28T07:25:00Z</updated><author><name>小牛大牛</name><uri>http://www.cnblogs.com/gugunet/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gugunet/archive/2010/06/28/1766773.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gugunet/archive/2010/06/28/1766773.html"/><content type="html">&lt;p&gt;客户的Java平台，使用了spring框架自带的MD5方法来加密，我的是C#下面的MD5加密方法，我这边的加密方法只要穿字符串就行了，不要密钥，结果他那边Java平台里的MD5加密是有密钥的而且使用的是动态密钥，然后查了一下Spring的加密方式，&lt;a href="http://blog.sina.com.cn/s/blog_4c0172430100ckmk.html" target="_blank"&gt;&lt;font class="Apple-style-span" color="#000000"&gt;http://blog.sina.com.cn/s/blog_4c0172430100ckmk.html&lt;/font&gt;&lt;/a&gt;。&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;这就有点不知道怎么办了，我不知道spring的加密方式是怎么做的，按道理所有的MD5算法的结果都是一样的，只不过每种MD5都对MD5算法进行了自己的修改，所以输出的结果就不一样了，除非知道spring的算法，才能模仿到他的结果。&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;最后选择明文传。。。。不知道可有更好的方式。&amp;nbsp;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/gugunet/aggbug/1766773.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/gugunet/archive/2010/06/28/1766773.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/gugunet/archive/2010/06/08/1753907.html</id><title type="text">如何把windows身份验证模式改为混合验证模式</title><summary type="text">1、如何解决SQL2000连接数据库失败及如何把windows身份验证模式改为混合验证模式。。。 由于SQLServer使用了"仅 Windows"的身份验证方式，因此用户无法使用SQL Server的登录帐户（如 sa ）进行连接。解决方法如下所示：1、 在服务器端使用企业管理器，并且选择"使用 Windows 身份验证"连接上 SQL Server；2、 展开"SQL Server组"...</summary><published>2010-06-08T05:02:00Z</published><updated>2010-06-08T05:02:00Z</updated><author><name>小牛大牛</name><uri>http://www.cnblogs.com/gugunet/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gugunet/archive/2010/06/08/1753907.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gugunet/archive/2010/06/08/1753907.html"/><content type="html">&lt;span class="Apple-style-span" style="font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 22px; border-collapse: collapse; color: #444444; "&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;1、如何&lt;span href="tag.php?name=%BD%E2%BE%F6" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #ff0000; white-space: nowrap; "&gt;解决&lt;/span&gt;&lt;span href="tag.php?name=SQL" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #ff0000; white-space: nowrap; "&gt;SQL&lt;/span&gt;2000连接&lt;span href="tag.php?name=%CA%FD%BE%DD%BF%E2" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #ff0000; white-space: nowrap; "&gt;数据库&lt;/span&gt;失败及如何把windows身份&lt;span href="tag.php?name=%D1%E9%D6%A4" class="t_tag" id="ajaxid_0.6905127540230751" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #ff0000; white-space: nowrap; "&gt;验证&lt;/span&gt;&lt;span href="tag.php?name=%C4%A3%CA%BD" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #ff0000; white-space: nowrap; "&gt;模式&lt;/span&gt;改为混合验证模式。。。&amp;nbsp;&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;由于SQL&amp;nbsp;&lt;span href="tag.php?name=Server" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #ff0000; white-space: nowrap; "&gt;Server&lt;/span&gt;使用了"仅 Windows"的身份验证方式，因此&lt;span href="tag.php?name=%D3%C3%BB%A7" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #ff0000; white-space: nowrap; "&gt;用户&lt;/span&gt;无法使用SQL Server的登录帐户（如 sa ）进行连接。解决方法如下所示：&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;1、 在&lt;span href="tag.php?name=%B7%FE%CE%F1%C6%F7" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #ff0000; white-space: nowrap; "&gt;服务器&lt;/span&gt;端使用企业管理器，并且选择"使用 Windows 身份验证"连接上 SQL Server；&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;2、 展开"SQL Server组"，鼠标右键点击SQL Server服务器的名称，选择"&lt;span href="tag.php?name=%CA%F4%D0%D4" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #ff0000; white-space: nowrap; "&gt;属性&lt;/span&gt;"，再选择"安全性"选项卡；&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;3、 在"身份验证"下，选择"SQL Server和 Windows "。&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;4、 重新启动SQL Server服务。&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;在以上解决方法中，如果在第 1 步中使用"使用 Windows 身份验证"连接 SQL Server 失败，那么我们将遇到一个两难的境地：首先，服务器只允许了 Windows 的身份验证；其次，即使使用了 Windows 身份验证仍然无法连接上服务器。这种情形被形象地称之为"自己把自己锁在了门外"，因为无论用何种方式，用户均无法使用进行连接。实际上，我们可以通过修改一个&lt;span href="tag.php?name=%D7%A2%B2%E1" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #ff0000; white-space: nowrap; "&gt;注册&lt;/span&gt;表键值来将身份验证方式改为 SQL Server 和 Windows 混合验证，步骤如下所示：&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;1、点击"开始"-"运行"，输入regedit，回车进入注册表编辑器；&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;2、依次展开注册表项，浏览到以下注册表键：&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\&lt;span href="tag.php?name=MSSQL" class="t_tag" id="ajaxid_0.5769377462565899" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #ff0000; white-space: nowrap; "&gt;MSSQL&lt;/span&gt;Server\MSSQLServer]&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;3、在屏幕右方找到名称"LoginMode"，双击编辑双字节值；&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;4、将原值从1改为2，点击"确定"；&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;5、关闭注册表编辑器；&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;6、重新启动SQL Server服务。&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;此时，用户可以成功地使用sa在企业管理器中新建SQL Server注册，但是仍然无法使用Windows身份验证模式来连接SQL Server。这是因为在 SQL Server 中有两个缺省的登录帐户：BUILTIN\Administrators 以及 ＜机器名＞\Administrator 被&lt;span href="tag.php?name=%C9%BE%B3%FD" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #ff0000; white-space: nowrap; "&gt;删除&lt;/span&gt;。要恢复这两个帐户，可以使用以下的方法：&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;1、打开企业管理器，展开服务器组，然后展开服务器；&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;2、展开"安全性"，右击"登录"，然后单击"新建登录"；&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;3、在"名称"框中，输入 BUILTIN\Administrators；&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;4、在"服务器角色"选项卡中，选择"System Administrators" ；&lt;/font&gt;&lt;br style="word-wrap: break-word; line-height: normal; " /&gt;&lt;font size="5" style="word-wrap: break-word; line-height: normal; "&gt;5、点击"确定"退出；&lt;/font&gt;&lt;/span&gt;&lt;img src="http://www.cnblogs.com/gugunet/aggbug/1753907.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/gugunet/archive/2010/06/08/1753907.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/gugunet/archive/2010/04/27/1721859.html</id><title type="text">由于无法创建应用程序域,因此未能执行请求拒绝访问</title><summary type="text">查看事件日志时,显示:错误：由于无法创建应用程序域，因此未能执行请求。错误: 0x80070005 拒绝访问。处理方法:查看IIS,发现程序池的访问用户是NetWork Service,找到站点的目录,将该用户设置为对此目录有权限访问.</summary><published>2010-04-27T03:23:00Z</published><updated>2010-04-27T03:23:00Z</updated><author><name>小牛大牛</name><uri>http://www.cnblogs.com/gugunet/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gugunet/archive/2010/04/27/1721859.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gugunet/archive/2010/04/27/1721859.html"/><content type="text">查看事件日志时,显示:错误：由于无法创建应用程序域，因此未能执行请求。错误: 0x80070005 拒绝访问。处理方法:查看IIS,发现程序池的访问用户是NetWork Service,找到站点的目录,将该用户设置为对此目录有权限访问.</content></entry><entry><id>http://www.cnblogs.com/gugunet/archive/2010/04/21/1717143.html</id><title type="text">修复 VS2008 asp.net 设计视图 失效/工具-选项[Html设计视图]出现&amp;quot;加载此属性页时出错&amp;quot; 方案</title><summary type="text">1. 打开vs 2008的工具&gt;选项&gt;HTML设计器时提示:加载此属性页时出错2.打开.aspx文件是, 只有HTML编辑视图,没有视图切换选项在命令行中运行：devenv /ResetSkipPkgs 即可解决该问题.</summary><published>2010-04-21T05:16:00Z</published><updated>2010-04-21T05:16:00Z</updated><author><name>小牛大牛</name><uri>http://www.cnblogs.com/gugunet/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gugunet/archive/2010/04/21/1717143.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gugunet/archive/2010/04/21/1717143.html"/><content type="text">1. 打开vs 2008的工具&gt;选项&gt;HTML设计器时提示:加载此属性页时出错2.打开.aspx文件是, 只有HTML编辑视图,没有视图切换选项在命令行中运行：devenv /ResetSkipPkgs 即可解决该问题.</content></entry><entry><id>http://www.cnblogs.com/gugunet/archive/2010/04/12/1710165.html</id><title type="text">在js里写body的onload事件,实现文章不可拷贝.</title><summary type="text">有的时候会需要这样写 : &lt;script type="text/javascript"&gt; window.onload = function(){   document.body.onclick= function(){document.selection.empty();}   document.b...</summary><published>2010-04-12T05:10:00Z</published><updated>2010-04-12T05:10:00Z</updated><author><name>小牛大牛</name><uri>http://www.cnblogs.com/gugunet/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gugunet/archive/2010/04/12/1710165.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gugunet/archive/2010/04/12/1710165.html"/><content type="text">有的时候会需要这样写 : &lt;script type="text/javascript"&gt; window.onload = function(){   document.body.onclick= function(){document.selection.empty();}   document.b...</content></entry><entry><id>http://www.cnblogs.com/gugunet/archive/2010/04/07/1705989.html</id><title type="text">jQuery.extend函数详细用法！[转]</title><summary type="text">[原文] 1、扩展jQuery静态方法. [代码] 用法: $.test() 2、合并多个对象.为jQuery.extend(css1,css2)为例，css1,css2各有一些属性.extend函数会把css2有而css1没有的属性加到css1中,如果css2的某个属性与css1的某个属性名称享用，就会用css2的属性去覆盖css1的同名属性。css1就是最后的整和对象。或者也可以用 ：var...</summary><published>2010-04-07T01:41:00Z</published><updated>2010-04-07T01:41:00Z</updated><author><name>小牛大牛</name><uri>http://www.cnblogs.com/gugunet/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gugunet/archive/2010/04/07/1705989.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gugunet/archive/2010/04/07/1705989.html"/><content type="text">[原文] 1、扩展jQuery静态方法. [代码] 用法: $.test() 2、合并多个对象.为jQuery.extend(css1,css2)为例，css1,css2各有一些属性.extend函数会把css2有而css1没有的属性加到css1中,如果css2的某个属性与css1的某个属性名称享用，就会用css2的属性去覆盖css1的同名属性。css1就是最后的整和对象。或者也可以用 ：var...</content></entry><entry><id>http://www.cnblogs.com/gugunet/archive/2010/03/19/1689895.html</id><title type="text">js控制网页WMP播放的属性</title><summary type="text">播放: MediaPlayer.Play() 暂停: MediaPlayer.Pause() 定位: MediaPlayer.SetCurrentEntry(lWhichEntry) MediaPlayer.Next() MediaPlayer.Previous() 循环: MediaPlayer.PlayCount = 0 0:the clip plays repeatedly 1:once 停...</summary><published>2010-03-19T07:41:00Z</published><updated>2010-03-19T07:41:00Z</updated><author><name>小牛大牛</name><uri>http://www.cnblogs.com/gugunet/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gugunet/archive/2010/03/19/1689895.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gugunet/archive/2010/03/19/1689895.html"/><content type="text">播放: MediaPlayer.Play() 暂停: MediaPlayer.Pause() 定位: MediaPlayer.SetCurrentEntry(lWhichEntry) MediaPlayer.Next() MediaPlayer.Previous() 循环: MediaPlayer.PlayCount = 0 0:the clip plays repeatedly 1:once 停...</content></entry><entry><id>http://www.cnblogs.com/gugunet/archive/2009/12/15/1624844.html</id><title type="text">Flash Builder 4  License过期的解决方法</title><summary type="text">一个成功的方法是：删除目录C:\Program Files\Common Files\Adobe\Adobe PCD\cache下的文件cache.db，Flash Builder会弹出一个类似新安装后的窗口，让选择使用30天或者填写序列号，填写序列号的下场和之前一样，全部过期，所以就选择试用30天。以后如果过期继续这个流程就可以解决。</summary><published>2009-12-15T07:23:00Z</published><updated>2009-12-15T07:23:00Z</updated><author><name>小牛大牛</name><uri>http://www.cnblogs.com/gugunet/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gugunet/archive/2009/12/15/1624844.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gugunet/archive/2009/12/15/1624844.html"/><content type="text">一个成功的方法是：删除目录C:\Program Files\Common Files\Adobe\Adobe PCD\cache下的文件cache.db，Flash Builder会弹出一个类似新安装后的窗口，让选择使用30天或者填写序列号，填写序列号的下场和之前一样，全部过期，所以就选择试用30天。以后如果过期继续这个流程就可以解决。</content></entry><entry><id>http://www.cnblogs.com/gugunet/archive/2009/11/25/1610715.html</id><title type="text">HTML DOM的NODETYPE值</title><summary type="text">将HTML DOM中几个容易常用的属性做下记录： nodeName、nodeValue 以及 nodeType 包含有关于节点的信息。 nodeName 属性含有某个节点的名称。 元素节点的 nodeName 是标签名称 属性节点的 nodeName 是属性名称 文本节点的 nodeName 永远是 #text 文档节点的 nodeName 永远是 #document 注释：nodeName ...</summary><published>2009-11-25T09:22:00Z</published><updated>2009-11-25T09:22:00Z</updated><author><name>小牛大牛</name><uri>http://www.cnblogs.com/gugunet/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gugunet/archive/2009/11/25/1610715.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gugunet/archive/2009/11/25/1610715.html"/><content type="text">将HTML DOM中几个容易常用的属性做下记录： nodeName、nodeValue 以及 nodeType 包含有关于节点的信息。 nodeName 属性含有某个节点的名称。 元素节点的 nodeName 是标签名称 属性节点的 nodeName 是属性名称 文本节点的 nodeName 永远是 #text 文档节点的 nodeName 永远是 #document 注释：nodeName ...</content></entry><entry><id>http://www.cnblogs.com/gugunet/archive/2009/11/25/1610535.html</id><title type="text">国外优秀开源PHP建站程序一览[转]</title><summary type="text">大量的PHP开源（开放源代码/Open Source）应用改变了这个世界，改变了互联网，以下我们总结从数据库到购物、博客等众多类型的开源PHP软件，供网站开发者们参考。 博客： WordPress WordPress是使用PHP开发的著名博客平台，免费开源，功能强大，不仅仅用于博客搭建，还可以广泛应用于各类网络信息发布平台。 论坛： phpBB phpBB是一种广泛流行的开源论坛软件，具有易于...</summary><published>2009-11-25T06:54:00Z</published><updated>2009-11-25T06:54:00Z</updated><author><name>小牛大牛</name><uri>http://www.cnblogs.com/gugunet/</uri></author><link rel="alternate" href="http://www.cnblogs.com/gugunet/archive/2009/11/25/1610535.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/gugunet/archive/2009/11/25/1610535.html"/><content type="text">大量的PHP开源（开放源代码/Open Source）应用改变了这个世界，改变了互联网，以下我们总结从数据库到购物、博客等众多类型的开源PHP软件，供网站开发者们参考。 博客： WordPress WordPress是使用PHP开发的著名博客平台，免费开源，功能强大，不仅仅用于博客搭建，还可以广泛应用于各类网络信息发布平台。 论坛： phpBB phpBB是一种广泛流行的开源论坛软件，具有易于...</content></entry></feed>
