然后使用 mvn clean package deploy 命令推送到私服时遇到了 Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project ...
分类:
其他好文 时间:
2020-04-27 11:51:30
阅读次数:
278
1、使用ansible的playbook实现自动化安装httpd1)定义要安装httpd的主机[root@c1ansible]#cat/etc/hosts10.1.1.245c410.1.1.246c5[root@c1ansible]#pwd/etc/ansible[root@c1ansible]#cathosts|grep-v"#"[test]c4c52)编写yaml文件[root@c1ansi
分类:
Web程序 时间:
2020-04-26 09:24:09
阅读次数:
119
F查询: from django.db.models import F # 查询阅读数大于评论数的,书名 ret = models.Book.objects.filter(read_num__gt=F("comment_num")) print(ret) print(ret.values("titl ...
分类:
其他好文 时间:
2020-04-25 18:55:32
阅读次数:
71
# Set the minimum version of CMake that can be used # To find the cmake version run # $ cmake --version cmake_minimum_required(VERSION 3.5) # Set the ...
分类:
其他好文 时间:
2020-04-25 12:37:02
阅读次数:
55
对象数组:一组相关的对象,使用时要先开辟空间,此时数组里每一个对象都是null值,使用时数组中的每一个对象必须分别进行实例化。 1 package tryprj; 2 3 public class Temp { 4 5 public static void main(String[] args) { ...
分类:
编程语言 时间:
2020-04-23 23:10:25
阅读次数:
66
Python 内置函数最全汇总: 1 abs() 绝对值或复数的模 2 all() 接受一个迭代器,如果迭代器的所有元素都为真,那么返回True,否则返回False 3 any() 接受一个迭代器,如果迭代器里有一个元素为真,那么返回True,否则返回False 4 ascii() 调用对象的rep ...
分类:
编程语言 时间:
2020-04-23 23:01:43
阅读次数:
148
如何将dotnet core webapi发布到docker中 今天想起来撸一下docker,中途还是遇到些问题,但是这些问题都是由于路径什么的导致不正确,在这儿还是记录下操作过程,今天是基于windows来操作docker,先把windows搞定,后面再去Linux上搞docker。 1、前提条件 ...
小目标检测的增强算法 Augmentation for small object detection 摘要 近年来,目标检测取得了令人瞩目的进展。尽管有了这些改进,但在检测小目标和大目标之间的性能仍有很大的差距。本文在一个具有挑战性的数据集上分析了当前最先进的模型Mask RCNN,MS COCO。 ...
分类:
编程语言 时间:
2020-04-23 20:49:10
阅读次数:
180
DBGvpp# show int addr UnknownEthernet5/0/0 (up): L2 bridge bd-id 1 idx 1 shg 0 host-ns1_tap (up): L2 bridge bd-id 1 idx 1 shg 0 host-ns7_tap (up): L2 ...
分类:
其他好文 时间:
2020-04-23 19:11:04
阅读次数:
102
用户认证 token ( 前后端分离 ) cookie & session (前后端不分离) aaa 继承 BaseAuthentication 类,并重写authenticate方法 三种操作: 1. 抛出异常,后续不执行 from rest_framework.execptions import ...
分类:
其他好文 时间:
2020-04-21 15:19:55
阅读次数:
80