一、使用ansible格式化 二、ansible挂载 src #要被挂载的目录或文件 path #指定挂载点的路径 fstype #指定挂载时的文件系统类型 opts #在挂载时,指定挂载参数信息 state #state=mounted,在fstab文件中的备份将被激活挂载或适当配置,如果指定mo ...
分类:
其他好文 时间:
2019-08-09 19:15:38
阅读次数:
83
需要将所有support包中的design模块移除 implementation('com.android.support:appcompat-v7:27.1.0', { exclude group: 'com.android.support', module: 'design'})implemen ...
分类:
移动开发 时间:
2019-08-04 19:26:50
阅读次数:
138
public abstract class BaseActivity<P extends IBasePresenter> extends AppCompatActivity implements IBaseView { private P mPresenter; protected abstract ...
分类:
其他好文 时间:
2019-08-04 19:17:00
阅读次数:
90
Description Bessie wants to navigate her spaceship through a dangerous asteroid field in the shape of an N x N grid (1 <= N <= 500). The grid contains ...
分类:
其他好文 时间:
2019-08-02 22:48:18
阅读次数:
116
文件上传: 三种上传方案 1、上传到tomcat服务器 上传图片的存放位置与tomcat服务器的耦合度太高 2、上传到指定文件目录,添加服务器与真实目录的映射关系,从而解耦上传文件与tomcat的关系 文件服务器 3、在数据库表中建立二进制字段,将图片存储到数据库 我们使用第二种方案: struts ...
分类:
Web程序 时间:
2019-07-31 23:57:17
阅读次数:
224
Description You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to ...
分类:
编程语言 时间:
2019-07-31 11:02:21
阅读次数:
187
In the new year party, everybody will get a "special present".Now it's your turn to get your special present, a lot of presents now putting on the des ...
分类:
其他好文 时间:
2019-07-26 21:22:23
阅读次数:
101
报错原因: Tomcat 8.5版本,在cookie值中不能使用空格。 代码: 问题出在这里:日期格式有空格,换成/即可 ...
分类:
编程语言 时间:
2019-07-24 12:57:45
阅读次数:
106
Arkady invited Anna for a dinner to a sushi restaurant. The restaurant is a bit unusual: it offers nn pieces of sushi aligned in a row, and a customer ...
分类:
其他好文 时间:
2019-07-22 23:55:50
阅读次数:
211
| 导语 Redis中的数据以k-v的方式组织;为了方便管理key一般具有某些特定的模式;有些key直接是由mysql中的表行数据转化而来;如果要对Redis的key进行生命周期管理,由于Redis的key量一般非常大(通常上亿),那么需要把这些key还原成它原来的模式,进而对key的什么周期管理演 ...
分类:
其他好文 时间:
2019-07-20 17:13:27
阅读次数:
97