1 使用connect-mongdo时,报错:Cannot read property 'Store' of undefined解决: require('connect-mongo')的时候加一个参数express,如下: var express = require('express'); var ...
分类:
其他好文 时间:
2014-07-14 00:30:23
阅读次数:
298
The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is read off as"tw...
分类:
其他好文 时间:
2014-07-13 22:53:48
阅读次数:
269
前言:nagios界面上,看到监控mysql服务报错如下:Warning:NRPE: Unable to read output 1,去nagios监控服务器上check下1.1,执行check_nrpe命令远程调用在监控端nagios服务器上执行check_nrpe检查mysql状态报错如下:[root@mysqlvm2 ~]# /usr/lib/nagios/plugins/check_nr...
分类:
移动开发 时间:
2014-07-13 16:40:37
阅读次数:
232
read以空格结尾readabc读入几个变量read-sa读入时不显示输入read-p"提示语言"a设置有提示语言read-t3a设置3秒不给a赋值脚本继续执行readab<file1没有循环将第一个字段赋值给a,第二个字段赋值给bcatfile1a1toma1a2jerryaaa3mikea34readabc<file1此时a=a1b=tomc=a1各种字..
分类:
其他好文 时间:
2014-07-13 14:37:42
阅读次数:
164
批量创建用户read-p"请输入用户名的前缀:"userread-p"请输入用户的数目:"numcount=0if(($num>10))thenecho"最多只能同时新建10个用户"elseforiin$(seq$num)doifuseradd$user$ithencount=$(($count+1))echo"用户$user$i已经创建成功"fidoneecho"一共新建的用户数:$count个"fi..
分类:
其他好文 时间:
2014-07-13 14:26:38
阅读次数:
230
用foxit reader 打印pdf 直接设置为双面打印并且一张2页打印,发现正反面刚好倒着来的,其实说的正反面倒着是从左右翻的角度来讲的,如果上下翻会发现刚好是这个顺序的,这个是要在双面打印设置里头去设置那个长边和短边的方向。在foxit reader 这里面 选择打印在弹出来的打印属性框中那个...
分类:
其他好文 时间:
2014-07-13 13:17:03
阅读次数:
438
3.1 引言术语不带缓冲指的是每个read和write都调用内核中的一个系统调用。这些不带缓冲的I/O函数不是ISO C的组成部分,但是,它们是POSIX.1和Single UNIX Specification的组成部分3.2 文件描述符UNIX系统shell使用文件描述符0与进程的标准输入相关联、...
分类:
其他好文 时间:
2014-07-13 08:11:13
阅读次数:
245
一:Spreadsheet_Excel_Reader类的基本使用方法:
$reader=new Spreadsheet_Excel_Reader();
$reader->setOutputEncoding("GBK");
$reader->read($fileName);
$rows=$reader->sheets[2]['numRows'];
$cells...
分类:
其他好文 时间:
2014-07-12 21:29:58
阅读次数:
312
Description
Read the statement of problem G for the definitions concerning trees. In the following we define the basic terminology of heaps. A heap is a tree whose internal nodes have each assigned...
分类:
其他好文 时间:
2014-07-12 18:52:12
阅读次数:
285
一:mmc的命令如下:
1:对mmc读操作
mmc read addr blk# cnt
2:对mmc写操作
mmc write addr blk# cnt
3:对mmc擦除操作
mmc erase blk# cnt
4:重新搜索mmc设备
mmc rescan
5:列出mmc的分区
mmc part - li...
分类:
移动开发 时间:
2014-07-12 17:36:39
阅读次数:
328