$(this).click(function(){if($(this).hasClass(“zxx_fri_on”)){$(this).removeClass(“zxx_fri_on”);}else{$(this).addClass(“zxx_fri_on”);}return false;});添加...
分类:
Web程序 时间:
2014-08-22 12:52:18
阅读次数:
325
//隐藏地址栏,移动端 window.addEventListener("load",function(){ setTimeout(scrollTo,0,0,1); },false);
分类:
Web程序 时间:
2014-08-22 12:26:16
阅读次数:
178
byte[] cipherData = Base64.encodeBase64(plainText.getBytes()); //默认不换行 byte[] cipherData = Base64.encodeBase64(plainText.getBytes(), false)...
分类:
编程语言 时间:
2014-08-22 12:23:46
阅读次数:
221
MSSQLServer不同服务器数据库之间的数据操作方法1:--创建链接服务器exec sp_addlinkedserver 'ITSV ', ' ', 'SQLOLEDB ', '远程服务器名或ip地址'exec sp_addlinkedsrvlogin 'ITSV ', 'false ',nul...
分类:
数据库 时间:
2014-08-22 10:44:06
阅读次数:
310
1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键no 可用于Table2. 取消选取、防止复制3. onpaste="return false" 不准粘贴4. oncopy="return false;" oncut="ret.....
分类:
编程语言 时间:
2014-08-22 09:18:06
阅读次数:
379
说明:
两个服务器:
192.168.0.22 A
192.168.0.3 B
数据库备份在A上
数据库在B上
在A上写:
exec sp_addlinkedserver 'ITSV2', ' ', 'SQLOLEDB', '服务器地址'
exec sp_addlinkedsrvlogin 'ITSV2', 'false',null, '用户...
分类:
其他好文 时间:
2014-08-21 22:55:45
阅读次数:
418
算是最长公共子序列问题吧,mark一下
class Solution {
public:
bool f[1000][1000];
bool isInterleave(string s1, string s2, string s3) {
if(s1.size() + s2.size() != s3.size())
return false;
...
分类:
其他好文 时间:
2014-08-21 22:51:34
阅读次数:
185
1. 看手册的例子说的 very good 在删除目录 和 遍历目录的时候要注意了,应该很少人把名字取为0吧。// 正确的遍历目录的方法while(false !==( $file= readdir($file_path) ) ){}//错误的遍历目录的方法while($file=readdir($...
分类:
其他好文 时间:
2014-08-21 20:54:24
阅读次数:
185
$(this).click(function(){if($(this).hasClass(“zxx_fri_on”)){$(this).removeClass(“zxx_fri_on”);}else{$(this).addClass(“zxx_fri_on”);}return false;});添加...
分类:
Web程序 时间:
2014-08-21 18:35:04
阅读次数:
317