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
function JudgeParaRegular(intID)
if intID
JudgeParaRegular=intId
else
Response.Write "输入错误!"
Response.End
end if
end function
intFileSize=JudgeParaRegular(Request.QueryString("intFileSi...
分类:
其他好文 时间:
2014-05-09 14:39:32
阅读次数:
299
同步时间:ntpdate202.120.2.101(上海交大ntp服务器)使用ntsysv--level2345,关闭非必要程序自动运行。修改/etc/sysconfig/i18n文件内容为:LANG="zh_CN:gb2312"源码放在/usr/local//创建用户及站点目录并更改权限groupaddwwwuseradd-r-gwww-s/sbin/nologinwwwgroupaddmysqlu..
分类:
其他好文 时间:
2014-05-09 14:27:28
阅读次数:
399
方法一:实验思路:第一步在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
Example #1$GLOBALS范例以上例程的输出类似于:$foo in global
scope: Example content$foo in current scope: local variable
分类:
Web程序 时间:
2014-05-09 13:25:52
阅读次数:
309
mysql:执行LOADDATALOCAL报错。我使用navicatformysql连接mysql服务器执行local可以正常执行。showVARIABLESlike‘%local%infile%‘结果如下:+---------------+-------+|Variable_name|Value|+---------------+-------+|local_infile|ON|+---------------+-------+1rowinset(0.0..
分类:
数据库 时间:
2014-05-09 07:06:20
阅读次数:
372
1.Nrpe安装创建nagios用户useraddnagios1.1被监控服务器安装nagios插件tarxzvfnagios-plugins-1.4.15.tar.gzcdnagios-plugins-1.4.15./configuremakemakeinstall1.2被监控服务器安装nrpe程序tarxzvfnrpe-2.1.2.tar.gzcdnrpe-2.1.2./configure--prefix=/usr/local/nagiosmakeall..
分类:
移动开发 时间:
2014-05-09 06:52:48
阅读次数:
518
贴代码了,已经测试,可正常编译
package org.mark.streamRW;
import java.io.File;
import java.io.FileOutputStream;
import java.io.OutputStream;
/**
* 字节流输出OutputStream
* 注意:1,write(byte[] b)数组方法写入;
*
* @author ...
分类:
其他好文 时间:
2014-05-09 06:19:20
阅读次数:
267
Bluetooth
Using the Bluetooth APIs, an Android application can perform the following:
使用蓝牙APIs,一个Android应用可以进行如下操作:
Scan for other Bluetooth devices
扫描其他蓝牙设备
Query the local Bluetooth adapter...
分类:
移动开发 时间:
2014-05-09 06:15:57
阅读次数:
479
1. Write a procedure count-list to count the
number of elements in a list1 (defun count-list (numbers)2 (if (null numbers) 03
(+ 1 (co...
分类:
其他好文 时间:
2014-05-09 05:41:41
阅读次数:
307