感觉这种交互,比把鼠标放到头像上右侧内容马上就改变要好。 这里是头像 这里是内容区域
分类:
其他好文 时间:
2014-07-23 12:07:46
阅读次数:
252
1.在火狐地址栏里输入“about:config”,等系统调用完毕之后按照下列步骤:2.更改 "network.http.pipelining" 为ture3.更改 "network.http.proxy.pipelining"为ture4.更改 "network.http.pipelining.m...
分类:
其他好文 时间:
2014-07-23 12:07:16
阅读次数:
229
三、事件处理程序与代码隐藏 例如,为一个Page添加一个Button控件,并为该Button添加事件名称Button_Click: Click Me!然后为该Button的事件处理程序添加实现代码: namespace ExampleNamespace{ public partial class E...
分类:
其他好文 时间:
2014-07-23 12:06:56
阅读次数:
249
ie6、7下,若元素设置margin值为负值,则margin负值区域会有一部分会离奇的消失,无法在页面上看到(相当于父元素设置了overflow:hidden后,子元素超出父元素部分就会被砍掉的效果一样)问题重现代码:带margin负值的元素解决问题后的代码:带margin负值的元素复制上面2段代码...
分类:
其他好文 时间:
2014-07-23 12:06:26
阅读次数:
180
http://acm.hdu.edu.cn/showproblem.php?pid=1428dijstra+dp; 1 #include 2 #include 3 #include 4 #include 5 #define maxn 100 6 #define ll __int64 7 us...
分类:
其他好文 时间:
2014-07-23 12:06:06
阅读次数:
269
安装yum install ntp配置文件/etc/ntp.confrestrict default kod nomodifynotrap nopeer noqueryrestrict -6 default kod nomodify notrap nopeer noqueryrestrict 127...
分类:
其他好文 时间:
2014-07-23 12:05:56
阅读次数:
331
本文主要是以代码为主。.NET技术交流群 199281001 .欢迎加入。//通知一个或多个正在等待的线程已发生事件。ManualResetEvent manager = new ManualResetEvent(false); 1 //负责监听的套接字 priv...
分类:
其他好文 时间:
2014-07-23 12:05:46
阅读次数:
289
题目描述:数学神童zouyu终于把0到100000000的Fibonacci数列 (f[0]=0,f[1]=1;f[i] = f[i-1]+f[i-2](i>=2))的值全部给背了下来。接下来,CodeStar...
分类:
其他好文 时间:
2014-07-23 12:05:06
阅读次数:
197
这是最大上升子序列的变形,可并没有LIS那么简单。需要用到二分查找来优化。看了别人的代码,给人一种虽不明但觉厉的赶脚直接复制粘贴了,嘿嘿原文链接:http://blog.csdn.net/ice_crazy/article/details/7536332假设存在一个序列d[1..9] = 2 1 5...
分类:
其他好文 时间:
2014-07-23 12:04:56
阅读次数:
276
--------------------------------------第一种:利用动软代码生成器生成的分页------------------------------------//新建一个一般处理程序 pageIndex = int.Parse(HttpContext....
分类:
其他好文 时间:
2014-07-23 12:04:46
阅读次数:
534
异步编程:线程概述及使用 从此图中我们会发现 .NET 与C# 的每个版本发布都是有一个“主题”。即:C#1.0托管代码→C#2.0泛型→C#3.0LINQ→C#4.0动态语言→C#5.0异步编程。现在我为最新版本的“异步编程”主题写系列分享,期待你的查看及点评。传送门:异步编程系列目录……开始:《...
分类:
其他好文 时间:
2014-07-23 12:04:16
阅读次数:
401
步骤1:强制引用动态库”Microsoft.Office.Interop.Excel“,版本为11.0;步骤2:添加引用OFFICE2007的COM组件”MicroSoft Office 12.0 Object Library“(OFFICE2003的是MicroSoft Office 11.0 O...
分类:
其他好文 时间:
2014-07-23 12:03:46
阅读次数:
182
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-07-23 12:03:26
阅读次数:
287
状态转移方程可以直接用dp[i][j]=max(dp[i+1,j]+a[i],dp[i,j-1]+a[j])*(2^k)),但是还要算2^k次方,可以先用数组储存2的方幂,但不可避免高精度乘法,如果只是*2的话可以用加法代替逆向思考,自内而外,用f[i,j]表示从i取到j的最大值,状态转移方程便为f...
分类:
其他好文 时间:
2014-07-23 12:02:56
阅读次数:
234
2 solutions: bin-search and Newton iteration.class Solution {public: int _sqrt(long long tgt, long long i0, long long i1) { long long can...
分类:
其他好文 时间:
2014-07-23 12:02:06
阅读次数:
236
Another textbook problem. We take back of postorder array as the current root, and then we can split the inorder array: 1st half for current right chi...
分类:
其他好文 时间:
2014-07-23 12:01:56
阅读次数:
210
在生产环境中,主从复制常常会有复制延迟的现象,主要是master是并发的写,而slave是单线程的应用relay log,所以会出现复制延时,在MySQL 5.6版本中有了基于库的多线程复制。还有MariaDB的并行复制。但是我们使用MySQL 5.5的版本也比较多。如何判断复制是否延时呢?工具现在...
分类:
其他好文 时间:
2014-07-23 12:00:56
阅读次数:
392