1.创建文件夹//using System.IO;Directory.CreateDirectory(%%1);2.创建文件//using System.IO;File.Create(%%1);3.删除文件//using System.IO;File.Delete(%%1);4.删除文件夹//usi...
分类:
其他好文 时间:
2014-08-13 10:19:05
阅读次数:
174
Pots
Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
You are given two pots, having the volume of A and B liters respectively. The following operations can be performed...
分类:
其他好文 时间:
2014-08-12 17:21:24
阅读次数:
281
把区间和改成,第一层|,第二层 ^。每次给出一个x,y把 第x个变成y ,输出 sum[1];#include #include #include #include #include #include #include #include #include #include #include #inc...
分类:
其他好文 时间:
2014-08-12 16:22:44
阅读次数:
190
DNS配置打开“网络和共享中心”在安装完域控制器后,DNS地址已转变为指向本地的127.0.0.1,可以更改为本机IP192.168.0.22.在ServerManager中打开Tools内的DNS组件3.正向查找区域如下图所示4.在ReverseLookupZones新建区域5.新建“反向查找区域向导”6.这里有三种区域类型:1)..
分类:
Windows程序 时间:
2014-08-12 03:39:24
阅读次数:
1655
Linux 常用命令 -- find根据名字,顾名思义就是查找的意思,可以通过多个维度来查找你想要的文件,比如类型,find - search for files in a directory hierarchy常用用法1. 通过名字查找文件find pathname -name filename2...
分类:
系统相关 时间:
2014-08-11 20:40:03
阅读次数:
488
nagios(icinga)借助check_hp插件监控惠普服务器硬件信息http://cpan.metacpan.org/authors/id/D/DT/DTOWN/Net-SNMP-v6.0.1.tar.gzhttp://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/HP-(Compaq)/check_hp/details被监控端:$sudoapt-getinstallsnmpd$sud..
分类:
移动开发 时间:
2014-08-11 18:17:23
阅读次数:
341
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.get(key) - Get the ...
分类:
其他好文 时间:
2014-08-11 10:01:01
阅读次数:
193
#manpostsuperNAMEpostsuper-PostfixsuperintendentSYNOPSISpostsuper[-psv][-cconfig_dir][-dqueue_id][-hqueue_id][-Hqueue_id][-rqueue_id][directory...]-dqueue_idDeleteonemessagewiththenamedqueueIDfromthenamedmailqueue(s)(default:hold,incoming,activeanddeferred)..
分类:
其他好文 时间:
2014-08-11 03:03:21
阅读次数:
275
一 常量 /** * 主要定义了路径常量,项目中经常用到 **/ define('PHPCMS_PATH',dirname(__FILE__).DIRECTORY_SEPARATOR);// 项目根目录 define('IN_PHPCMS',true); ...
分类:
Web程序 时间:
2014-08-10 21:11:40
阅读次数:
374
JNDI即Java命名和目录接口(JavaNaming and Directory Interface),它属于J2EE规范范畴,是J2EE的核心技术之一,提供了一组接口、类和关于命名空间的概念。JDNI是provider-based技术,它暴露一个API和一个服务供应接口(SPI)。它将名称和对象联系起来,使我们可以用名称访问对象。我们可以把JNDI简单地看成是里面封装了一个name到实体对象的...
分类:
编程语言 时间:
2014-08-08 21:23:16
阅读次数:
734