<form action=""><input type="checkbox" name="dx" value="a" id="a"> <label for="a">a</label><input type="checkbox" name="dx" value="b" id="b"><label fo ...
分类:
Web程序 时间:
2016-10-03 19:05:42
阅读次数:
209
1、 多数据库,默认16个库;默认在0库; 2、 2种持久化机制:rdb(快照模式)、aof(日志模式) (1) rdb持久化,2种方式:手动命令save和后台save 手动命令save会阻塞客户端的进程请求,直到save执行完成,因为redis本身是单线程的执行方式; bgsave方式保存,是fo ...
分类:
其他好文 时间:
2016-10-03 12:52:06
阅读次数:
221
1、CF #374 (Div. 2) C. Journey 2、总结:好题,这一道题,WA,MLE,TLE,RE,各种姿势都来了一遍。。 3、题意:有向无环图,找出第1个点到第n个点的一条路径,经过的点数要最多。 #include<bits/stdc++.h> #define F(i,a,b) fo ...
分类:
其他好文 时间:
2016-10-02 13:11:22
阅读次数:
129
system函数是用来在进程中执行 shell 命令的。注意其实 exec 族函数其实也可以用来在进程中执行 shell 命令,但是这两个函数实现执行 shell 命令的原理是完全不同的。 system函数相当于是 fork->exec->wait 这样的一个过程,也就是说system函数会调用fo ...
分类:
系统相关 时间:
2016-10-01 19:37:09
阅读次数:
241
koa-static-server Static file serving middleware for koa with directory, rewrite and index support koa-static-server static file serving middleware fo ...
分类:
Web程序 时间:
2016-09-30 15:31:20
阅读次数:
230
设计思路:先设置变量,在取参数,用函数值返回。得到求和。 程序流程:设置变量—取参数—求和—输出. 源代码:public class ketangzuoye { //@param args public static void main(String[] args){ int sum = 0; fo ...
分类:
其他好文 时间:
2016-09-26 19:59:01
阅读次数:
116
1.定义:两行文字基线(baseline)之间的距离。中文为行高。在英文字母中,基线位于部分英文字母(x,i,n等)下端边缘线处(跟字体有关,会有一些细微差距)。 2.line-height与行内框盒子模型。 内容区域(content area)是围绕文字line-height的不可见的盒子。与fo ...
分类:
其他好文 时间:
2016-09-25 18:50:22
阅读次数:
93
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the fo ...
分类:
其他好文 时间:
2016-09-25 18:43:22
阅读次数:
108
for (NSString * familyName in [UIFont familyNames]) { //字体家族名 // Source Han Sans CN NSLog(@" %@ " , familyName); for (NSString *fontName in [UIFont fo ...
分类:
其他好文 时间:
2016-09-22 19:59:08
阅读次数:
115
public class CommandParamter { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("参数个数:"+args.length); fo ...
分类:
编程语言 时间:
2016-09-20 23:57:47
阅读次数:
185