AntDeploy AntDeploy是一款开源的一键发布部署工具,目的是代替重复性的发布动作,提高部署效率 1.一键部署iis 2.一键部署windows服务 3.一键部署到Docker 4.支持增量 5.支持只发布特定文件 6.支持回滚到指定历史版本 7.支持查看发布历史记录 8.支持脱离vs单 ...
分类:
其他好文 时间:
2019-05-16 19:07:12
阅读次数:
163
Django模型是与数据库相关的,与数据库相关的代码一般写在models.py中,Django支持sqlite3,MySQL,PostgreSQL等数据库,只需要在setting.py中配置即可,不可更改models.py中的代码,丰富的API极大的方便了使用 1、新建项目和应用 补充:新建app也 ...
分类:
数据库 时间:
2019-05-16 10:54:40
阅读次数:
143
14.7.1 InnoDB Locking 14.7.1 InnoDB Locking 14.7.1 InnoDB Locking 14.7.1 InnoDB Locking This section describes lock types used by InnoDB. Shared and E ...
分类:
数据库 时间:
2019-05-15 16:19:06
阅读次数:
188
类中只有这class Role_permission{ private Integer id;private Integer rid;private Integer pid;} 重写这两个方法 判断规则pid一致我就认为两个比较的类相同 @Overridepublic boolean equals( ...
分类:
其他好文 时间:
2019-05-15 14:12:31
阅读次数:
127
Bob has a favorite number k and ai of length n. Now he asks you to answer m queries. Each query is given by a pair li and ri and asks you to count the ...
分类:
其他好文 时间:
2019-05-14 18:59:20
阅读次数:
144
最近由于项目需要,要用QT操作Word文档。具体的工作需求:在指定的Word文档(*.doc文件/*.docx文件)中查找关键字,找到后做高亮操作或者直接删除操作,然后另存为到别的目录(表示这个文件被操作过了)。 这个功能很简单,确实挺简单,但由于是第一次用QT操作Word文档,所以仍需要经过一番查 ...
分类:
其他好文 时间:
2019-05-13 23:18:07
阅读次数:
147
传统方式:ListUtil.java public class ListUtil{ private static Logger LOGGER=LoggerFactory.getLogger(ListUtil.class); /** * 分组依据接口,用于集合分组时,获取分组 * T为要groupBy ...
分类:
编程语言 时间:
2019-05-13 16:00:24
阅读次数:
311
一 题目概述 不使用任何内建的哈希表库设计一个哈希集合 具体地说,你的设计应该包含以下的功能 add(value):向哈希集合中插入一个值。 contains(value) :返回哈希集合中是否存在这个值。 remove(value):将给定值从哈希集合中删除。如果哈希集合中没有这个值,什么也不做。 ...
分类:
其他好文 时间:
2019-05-12 20:02:25
阅读次数:
166
Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the ...
分类:
其他好文 时间:
2019-05-12 11:08:59
阅读次数:
125
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the arr ...
分类:
其他好文 时间:
2019-05-12 10:39:59
阅读次数:
120