error: RPC failed; result=22, HTTP code = 411fatal:
The remote end hung up unexpectedly解决方法:git config http.postBuffer 524288000
分类:
其他好文 时间:
2014-05-10 01:06:09
阅读次数:
367
Oracle will generate something called cursor
after it parse an statement. This thing--cursor will be stored in Library cache,
if next time you need to...
分类:
数据库 时间:
2014-05-10 01:02:22
阅读次数:
579
java
-Djava.library.path=/usr/local/lib/ruby/gems/1.8/gems/sharp_office-1.0.1/ext/sigar
-jar /usr/local/lib/ruby/gems/1.8/gems/sharp_office-1.0.1/ext/...
分类:
其他好文 时间:
2014-05-09 23:46:06
阅读次数:
265
导入Excel:jsp中1 2 导入数据3 4 5 6
action中:action最前面肯定要有下面这几句,而且要有其对应的set、get方法private File tradingMoneyFile;//
实际上传文件pri...
分类:
Web程序 时间:
2014-05-09 23:25:13
阅读次数:
560
搭建hadoop集群的时候一定会用到的就是SSH免密码登录[hadoop@hadoop1 ~]$
ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to
save the key (/home/ha...
分类:
系统相关 时间:
2014-05-09 23:10:11
阅读次数:
471
将读取的数据写到log.txt文件中,先在工程下新建一个log.txt文件public
class Program { public const string LOGGER_FILE = "log.txt"; public static void
Logger(st...
分类:
Web程序 时间:
2014-05-09 23:03:52
阅读次数:
843
在UEditor一些版本中,如果粘贴Excell中的内容到编辑器,会粘贴不进去,打开控制台发现JS报错了。
在ueditor.all.js:3048行报如下错误:
Uncaught TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The node provided is invalid....
分类:
其他好文 时间:
2014-05-09 15:16:34
阅读次数:
290
读可读写模拟量寄存器:
发送命令(主机向从机)格式:
[设备地址] [命令号03] [起始寄存器地址高8位] [低8位] [读取的寄存器数高8位] [低8位] [CRC校验的低8位] [CRC校验的高8位]
例:[11][03][00][6B][00][03][CRC低][CRC高]
意义如下:
11:设备地址,例子中的地址是11,溶氧传感器端默认的地址是1,。
03:读模拟...
分类:
数据库 时间:
2014-05-09 15:10:15
阅读次数:
392
方法一:实验思路:第一步在commands.cfg文件中定义你要使用的检测命令:vi/usr/local/nagios/etc/objects/commands.cfgdefinecommand{command_nametcp60910#命令名command_line$USER1$/check_tcp-H$HOSTADDRESS$-p60910-t60#命令内容,该处调用到check_tcp这个脚本-P后面是端..
分类:
移动开发 时间:
2014-05-09 14:21:11
阅读次数:
402
题目连接:check here~
题意是说给一个字符串,包含'(',')','[',']'四种字符,判断至少需要添加几个字符使所给字符串括号匹配。
区间型动态规划,设dp[i][j]表示在字符串s中i位置到j位置所需要添加的最少的字符(i
有两种情况:
1、dp[i][j] = dp[i+1][j] + 1;
表示:在i到j之间没有与s[i]相匹配的括号,则必须添加一个字符来与之匹配...
分类:
其他好文 时间:
2014-05-09 14:07:36
阅读次数:
230