<?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/9823/rss</id><updated>2010-05-14T02:03:17Z</updated><author><name>胖子</name><uri>http://www.cnblogs.com/freemantc/</uri></author><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/freemantc/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/9823/rss"/><entry><id>http://www.cnblogs.com/freemantc/archive/2010/03/20/1690502.html</id><title type="text">Philips K700 使用感受</title><summary type="text">老的多普达575（水货）终于快不行了，也用了好几年了。新入手Philips K700手机一部，参数啊图片啊评测啊等等这类东西很容易搜索到相关资料，就不再重复了，仅说一个我这将近1个月的使用感受。   优点 1、外观很漂亮，看起来更像是一个MP4 2、硬解码rmvb格式的视频，这点太爽了，下载的美剧不用转换直接就可以播放，而且非常的流畅。 3、普通使用（短信、电话，每天2次手机报...</summary><published>2010-03-20T08:22:00Z</published><updated>2010-03-20T08:22:00Z</updated><author><name>胖子</name><uri>http://www.cnblogs.com/freemantc/</uri></author><link rel="alternate" href="http://www.cnblogs.com/freemantc/archive/2010/03/20/1690502.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/freemantc/archive/2010/03/20/1690502.html"/><content type="text">老的多普达575（水货）终于快不行了，也用了好几年了。新入手Philips K700手机一部，参数啊图片啊评测啊等等这类东西很容易搜索到相关资料，就不再重复了，仅说一个我这将近1个月的使用感受。   优点 1、外观很漂亮，看起来更像是一个MP4 2、硬解码rmvb格式的视频，这点太爽了，下载的美剧不用转换直接就可以播放，而且非常的流畅。 3、普通使用（短信、电话，每天2次手机报...</content></entry><entry><id>http://www.cnblogs.com/freemantc/archive/2010/02/24/1672616.html</id><title type="text">XML、二进制、SOAP的序列化</title><summary type="text">目的 将对象序列化之后，可以以文件的形式保存下来。 区别 XML 二进制 SOAP 序列化类 XmlSerializer BinaryFormatter SoapFormatter SerializableAttribute 标记 不需要 需要 需要 ISerializable 接口 不需要 需要 需要 无参构造函数 必须有 不需要 不需要 被序列化的数据成员属性 public all all ...</summary><published>2010-02-24T05:45:00Z</published><updated>2010-02-24T05:45:00Z</updated><author><name>胖子</name><uri>http://www.cnblogs.com/freemantc/</uri></author><link rel="alternate" href="http://www.cnblogs.com/freemantc/archive/2010/02/24/1672616.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/freemantc/archive/2010/02/24/1672616.html"/><content type="text">目的 将对象序列化之后，可以以文件的形式保存下来。 区别 XML 二进制 SOAP 序列化类 XmlSerializer BinaryFormatter SoapFormatter SerializableAttribute 标记 不需要 需要 需要 ISerializable 接口 不需要 需要 需要 无参构造函数 必须有 不需要 不需要 被序列化的数据成员属性 public all all ...</content></entry><entry><id>http://www.cnblogs.com/freemantc/archive/2010/01/20/1652321.html</id><title type="text">清除UTF-8文件的BOM头</title><summary type="text">场景： 和某公司合作，给其提供xml文件。对方回邮件说：“你的文件是不是用写字板之类的编辑工具打开过？以二进制查看的时候文件头部有EF BB BF这3个字节……能否去掉？” 查阅了一些资料，发现这是windows系统自动添加的东西，而且调用.Net类库直接生成文件的方法，只要用utf-8编码，都会有这个东西。太无奈了，只好自己动手去掉这些了。   实现： /// &lt;sum...</summary><published>2010-01-20T05:42:00Z</published><updated>2010-01-20T05:42:00Z</updated><author><name>胖子</name><uri>http://www.cnblogs.com/freemantc/</uri></author><link rel="alternate" href="http://www.cnblogs.com/freemantc/archive/2010/01/20/1652321.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/freemantc/archive/2010/01/20/1652321.html"/><content type="text">场景： 和某公司合作，给其提供xml文件。对方回邮件说：“你的文件是不是用写字板之类的编辑工具打开过？以二进制查看的时候文件头部有EF BB BF这3个字节……能否去掉？” 查阅了一些资料，发现这是windows系统自动添加的东西，而且调用.Net类库直接生成文件的方法，只要用utf-8编码，都会有这个东西。太无奈了，只好自己动手去掉这些了。   实现： /// &lt;sum...</content></entry><entry><id>http://www.cnblogs.com/freemantc/archive/2009/11/05/1596630.html</id><title type="text">powershell 相关</title><summary type="text">Get-ExecutionPolicy 查看ps的当前策略 默认的Restricted策略不能运行脚本，可以改为RemoteSigned策略 powershell脚本的默认扩展名为：ps1 执行ps1脚本的时候，形如： PS&gt; . ‘c:\test.ps1’ 也可以用命令行来直接调用，形如： C:\powershell . ‘c:\test.ps1’ PowerShell 执行策略包括：R...</summary><published>2009-11-05T06:26:00Z</published><updated>2009-11-05T06:26:00Z</updated><author><name>胖子</name><uri>http://www.cnblogs.com/freemantc/</uri></author><link rel="alternate" href="http://www.cnblogs.com/freemantc/archive/2009/11/05/1596630.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/freemantc/archive/2009/11/05/1596630.html"/><content type="text">Get-ExecutionPolicy 查看ps的当前策略 默认的Restricted策略不能运行脚本，可以改为RemoteSigned策略 powershell脚本的默认扩展名为：ps1 执行ps1脚本的时候，形如： PS&gt; . ‘c:\test.ps1’ 也可以用命令行来直接调用，形如： C:\powershell . ‘c:\test.ps1’ PowerShell 执行策略包括：R...</content></entry><entry><id>http://www.cnblogs.com/freemantc/archive/2008/11/03/1325384.html</id><title type="text">FireFox在windows2003的操作系统支持Windows Media Player插件</title><summary type="text">windows XP 和 vista 操作系统，要想让FireFox支持wmp是很容易的，安装下面的插件就可以了。 http://port25.technet.com/videos/downloads/wmpfirefoxplugin.exe但windows2003就不行了，安装时报告插件不支持该版本的操作系统，上网google了一番，发现如下方法可以解决：把下面3个dll文件：npdsplay....</summary><published>2008-11-03T05:17:00Z</published><updated>2008-11-03T05:17:00Z</updated><author><name>胖子</name><uri>http://www.cnblogs.com/freemantc/</uri></author><link rel="alternate" href="http://www.cnblogs.com/freemantc/archive/2008/11/03/1325384.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/freemantc/archive/2008/11/03/1325384.html"/><content type="text">windows XP 和 vista 操作系统，要想让FireFox支持wmp是很容易的，安装下面的插件就可以了。 http://port25.technet.com/videos/downloads/wmpfirefoxplugin.exe但windows2003就不行了，安装时报告插件不支持该版本的操作系统，上网google了一番，发现如下方法可以解决：把下面3个dll文件：npdsplay....</content></entry><entry><id>http://www.cnblogs.com/freemantc/archive/2007/08/07/845785.html</id><title type="text">关于javascript编码url的中文参数</title><summary type="text">做中文站点，在url中使用中文参数太正常了，比如：http://website/list.aspCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--&gt;?keyword=关键字在理想状态下，是不需要做任何的处理，list.aspx页面可以接收到“关键字”这个中...</summary><published>2007-08-07T02:19:00Z</published><updated>2007-08-07T02:19:00Z</updated><author><name>胖子</name><uri>http://www.cnblogs.com/freemantc/</uri></author><link rel="alternate" href="http://www.cnblogs.com/freemantc/archive/2007/08/07/845785.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/freemantc/archive/2007/08/07/845785.html"/><content type="text">做中文站点，在url中使用中文参数太正常了，比如：http://website/list.aspCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--&gt;?keyword=关键字在理想状态下，是不需要做任何的处理，list.aspx页面可以接收到“关键字”这个中...</content></entry><entry><id>http://www.cnblogs.com/freemantc/archive/2007/06/02/768435.html</id><title type="text">[转]IIS 6.0中配置HTTP Gzip压缩</title><summary type="text">一. HTTP压缩概述HTTP压缩是在Web服务器和浏览器间传输压缩文本内容的方法。HTTP压缩采用通用的压缩算法如gzip等压缩HTML、JavaScript或CSS文件。压缩的最大好处就是降低了网络传输的数据量，从而提高客户端浏览器的访问速度。当然，同时也会增加一点点服务器的负担。Gzip是比较常见的一种HTTP压缩算法。本文介绍的HTTP压缩方式，采用的是Windows系统设置的方式，优点是...</summary><published>2007-06-02T01:44:00Z</published><updated>2007-06-02T01:44:00Z</updated><author><name>胖子</name><uri>http://www.cnblogs.com/freemantc/</uri></author><link rel="alternate" href="http://www.cnblogs.com/freemantc/archive/2007/06/02/768435.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/freemantc/archive/2007/06/02/768435.html"/><content type="text">一. HTTP压缩概述HTTP压缩是在Web服务器和浏览器间传输压缩文本内容的方法。HTTP压缩采用通用的压缩算法如gzip等压缩HTML、JavaScript或CSS文件。压缩的最大好处就是降低了网络传输的数据量，从而提高客户端浏览器的访问速度。当然，同时也会增加一点点服务器的负担。Gzip是比较常见的一种HTTP压缩算法。本文介绍的HTTP压缩方式，采用的是Windows系统设置的方式，优点是...</content></entry><entry><id>http://www.cnblogs.com/freemantc/archive/2007/05/30/764907.html</id><title type="text">数码相机在windows2003下的问题</title><summary type="text">服务名称：stisvc显示名称：Windows Image Acquisition (WIA)描述：  为扫描仪和照相机提供图像捕获服务。windows2003 默认是禁用的，xp默认是自动启动的。启动该服务就ok了！</summary><published>2007-05-30T04:31:00Z</published><updated>2007-05-30T04:31:00Z</updated><author><name>胖子</name><uri>http://www.cnblogs.com/freemantc/</uri></author><link rel="alternate" href="http://www.cnblogs.com/freemantc/archive/2007/05/30/764907.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/freemantc/archive/2007/05/30/764907.html"/><content type="text">服务名称：stisvc显示名称：Windows Image Acquisition (WIA)描述：  为扫描仪和照相机提供图像捕获服务。windows2003 默认是禁用的，xp默认是自动启动的。启动该服务就ok了！</content></entry><entry><id>http://www.cnblogs.com/freemantc/archive/2006/09/24/513600.html</id><title type="text">MyGeneration连接MySql数据库的解决办法</title><summary type="text">1、去MySql官方网站，下载连接.net的驱动，mysql-connector-net-1.0.7，装好后把MySql.Data.dll和ICSharpCode.SharpZipLib.dll两个文件copy到MyGeneration的安装目录2、运行MyGeneration，在Default Settings页面做如下设置：Connection String中，Driver选：MySQL2连接字符串这样写：server=localhost;user id=root;password=123;database=test;charset=gbk;pooling=false其中charset和pooling两项为可选项写好后点那个“测试连接”的按钮，ok，成功！3、Language Mapping和Database Target Mapping</summary><published>2006-09-24T14:53:00Z</published><updated>2006-09-24T14:53:00Z</updated><author><name>胖子</name><uri>http://www.cnblogs.com/freemantc/</uri></author><link rel="alternate" href="http://www.cnblogs.com/freemantc/archive/2006/09/24/513600.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/freemantc/archive/2006/09/24/513600.html"/><content type="text">1、去MySql官方网站，下载连接.net的驱动，mysql-connector-net-1.0.7，装好后把MySql.Data.dll和ICSharpCode.SharpZipLib.dll两个文件copy到MyGeneration的安装目录2、运行MyGeneration，在Default Settings页面做如下设置：Connection String中，Driver选：MySQL2连接字符串这样写：server=localhost;user id=root;password=123;database=test;charset=gbk;pooling=false其中charset和pooling两项为可选项写好后点那个“测试连接”的按钮，ok，成功！3、Language Mapping和Database Target Mapping</content></entry><entry><id>http://www.cnblogs.com/freemantc/archive/2006/07/05/443008.html</id><title type="text">一个简单的操作活动目录的类（ADHelper）</title><summary type="text">工作关系，用了vb.net语法。代码中注释写的比较详细，直接贴代码上去了。注意：别忘了添加System.DirectoryServices.dll的引用'-----------------------------------------------------------------------------'说明：操作AD用到了两种协议，WinNT和LDAP''WinNT——可以以较高的权限进行操...</summary><published>2006-07-05T01:21:00Z</published><updated>2006-07-05T01:21:00Z</updated><author><name>胖子</name><uri>http://www.cnblogs.com/freemantc/</uri></author><link rel="alternate" href="http://www.cnblogs.com/freemantc/archive/2006/07/05/443008.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/freemantc/archive/2006/07/05/443008.html"/><content type="text">工作关系，用了vb.net语法。代码中注释写的比较详细，直接贴代码上去了。注意：别忘了添加System.DirectoryServices.dll的引用'-----------------------------------------------------------------------------'说明：操作AD用到了两种协议，WinNT和LDAP''WinNT——可以以较高的权限进行操...</content></entry></feed>
