#!/bin/bashPATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/binexport
PATH# Check if user is rootif [ $(id -u) != "0" ]; then pr...
分类:
其他好文 时间:
2014-05-16 07:15:11
阅读次数:
310
Problem FPaths through the
HourglassInput:Standard InputOutput:Standard OutputTime Limit:2 SecondsIn the
hourglass to the right a path is marked. A pa...
分类:
其他好文 时间:
2014-05-16 05:34:47
阅读次数:
307
private static String getWebInfPath() { URL url =
当前类.class.getProtectionDomain().getCodeSource().getLocation(); String path =
url.toString(); int ...
分类:
编程语言 时间:
2014-05-15 16:54:07
阅读次数:
378
HTTP协议HTTP(HyperText Transfer
Protocol)协议是应用层协议,是一个基于请求(request)/响应(response)模式的、无状态的(stateless)协议HHTP
URLhttp://hostname[:port][abs_path]浏览器与服务器连接的一般...
分类:
编程语言 时间:
2014-05-15 16:34:34
阅读次数:
384
??
解决办法:加入相关类的 jar 包到你的 classpath (右键点击某个jar包--build path--config build path...---liberary---Add external jar library),此处加入 servelet-api.jar(此包在eclipse/plugins目录中可以找得到,其他类似的错误也用相同的方法解决) 到 classpath ,...
分类:
编程语言 时间:
2014-05-15 07:08:36
阅读次数:
313
ocm02库与GC安装与配置
安装顺序:ocmdb02库(host:ocm02)
1.安装ocmdb02库 作用:存放历史数据,用于历史分析 --后续安装oms,oms需要一个容器来存放各个agent推送来的信息,ocmdb02就是这个容器。
2.配置oracle用户环境变量
export ORACLE_BASE=/u01/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export LD_LIBRARY_PATH=$ORACLE_HOM...
分类:
其他好文 时间:
2014-05-15 05:52:11
阅读次数:
238
Robot Motion
Problem Description
A robot has been programmed to follow the instructions in its path. Instructions for the next direction the robot is to move are laid down in a grid. The...
分类:
其他好文 时间:
2014-05-15 05:48:40
阅读次数:
346
给你两个四位的素数s和t,要求每次改变一个数字,使得改变后的数字也为素数,求s变化到t的最少变化次数。...
分类:
其他好文 时间:
2014-05-15 05:38:25
阅读次数:
234
1.把php_oci8.dll复制到system32目录下,经试验,无效。2.添加php安装路径到环境变量path中,使用phpinfo()查看,重启电脑后才会变成新的path设置,但可惜,经过一番折腾,依旧无效。3.oarcle客户端精简版问题,我换成使用与服务器端安装时使用的同一张盘安装的客户端,经查,..
分类:
Web程序 时间:
2014-05-14 17:29:35
阅读次数:
381
1 首先是try,catch getMessage();}function
file_open($path){ if(!file_exists($path)) //如果文件无法找到,抛出异常对象 { throw new
Exception("文件无法找到", 1); } if(!f...
分类:
Web程序 时间:
2014-05-14 13:19:14
阅读次数:
427