完整的阿里云挂载数据盘方法如下: 1、入手阿里云后查看有几块硬盘:(只显示概况,不显示分区情况) >fdisk -l|grep Disk 2、查看硬盘分区 >fdisk -l 如果有提示:disk /dev/xvdb doesn t contain a valid partition table说明 ...
分类:
系统相关 时间:
2019-01-28 16:05:21
阅读次数:
252
from表单是自带校验宫能的 可以省区我们很多麻烦 现在我们来看下他的用法 如上 form_obj.is_valid () 是django为我们提供用于校验的方法 , 我们只需要把校验通过的直接做我们需要做的处理就好了 如果有用户输入的不符合规范 Django会帮我们把报错信息放在form_obj. ...
分类:
其他好文 时间:
2019-01-25 22:42:50
阅读次数:
176
【题目】 Given a string containing only digits, restore it by returning all possible valid IP address combinations. Example: 【题意】 给出一个string,返回符合要求的IP地址的集 ...
分类:
其他好文 时间:
2019-01-25 01:06:00
阅读次数:
150
java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986 org.apach ...
分类:
编程语言 时间:
2019-01-24 13:24:54
阅读次数:
186
通过java原生的@Valid注解和spring的@ControllerAdvice和@ExceptionHandler实现全局异常处理的方法: controller中加入@Valid注解: 接受entity中加入@NotNull注解:(验证还有很多,这里是举例说明) 全局处理工具类加入@Contr ...
分类:
编程语言 时间:
2019-01-24 00:21:05
阅读次数:
1586
Lecture 9 CNN Architectures 参见:https://blog.csdn.net/qq_29176963/article/details/82882080#GoogleNet_83 一、 LeNet-5: 神经网络的第一个实例,用于识别邮票上的手写数字,使用步长为1,大小为5 ...
分类:
其他好文 时间:
2019-01-20 00:57:11
阅读次数:
303
转自: https://tomasalabes.me/blog/graphql/node/microservices/2018/08/11/graphql-architectures.html GraphQL Gateway Architectures These are the approache ...
分类:
其他好文 时间:
2019-01-19 21:09:18
阅读次数:
189
Given the coordinates of four points in 2D space, return whether the four points could construct a square. The coordinate (x,y) of a point is represen ...
分类:
其他好文 时间:
2019-01-16 17:23:28
阅读次数:
155
在搭建git服务器安装数据库的时候,执行命令 yum install Percona-Server-shared-55-5.5.45-rel37.4.el6.x86_64.rpm Percona-Server-client-55-5.5.45-rel37.4.el6.x86_64.rpm Perco ...
分类:
Web程序 时间:
2019-01-16 11:40:16
阅读次数:
216
命令:rmp qa|grep vim #查看是否已经安装vim 命令:yum -y install vim #安装vim命令 注:该操作需要连接网络!刚刚安装CentOS 7并且初次接触的朋友可能会报 Cannot find a valid baseurl for repo:的错误, 这是因为连接不 ...
分类:
系统相关 时间:
2019-01-15 00:50:40
阅读次数:
217