一、底层原理 镜像是一种轻量级、可执行的独立软件包,用来打包软件运行环境和基于运行环境开发的软件,它包含运行某个软件所需的所有内容,包括代码、运行时、库、环境变量和配置文件。 1、UnionFS(联合文件系统) UnionFS(联合文件系统):Union文件系统(UnionFS)是一种分层、轻量级并 ...
分类:
其他好文 时间:
2020-01-26 13:09:07
阅读次数:
55
资料: W3C标准:https://www.w3.org/TR/xpath/all/ W3School:https://www.w3school.com.cn/xpath/index.asp 菜鸟教程:https://www.runoob.com/xpath/xpath tutorial.html ...
分类:
编程语言 时间:
2020-01-25 23:35:25
阅读次数:
110
Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be factored as 3×5×6×7, where 5, 6, a ...
分类:
其他好文 时间:
2020-01-25 15:29:55
阅读次数:
87
less-23 23关和第1关很像,但是观察代码发现他对--+和#都进行了转义,不能再用这种方式注释 可以用新的注释符:;%00或者and和or语句进行闭合 语句:http://192.168.5.100/sqli-labs/Less-23/?id=0' union select 1,2,group ...
分类:
数据库 时间:
2020-01-24 21:17:01
阅读次数:
114
1,one to one, 单向, 谁加注解才能关联(dubug有时候背lazy影响 副表角度: 查:能查,主表不加注解 插入:不加级联插入有异常,只有在副表加cascade = CascadeType.ALL,所以只能说明加了oneToOne只能级联插入, 如果只是查出来再插入,cascade = ...
分类:
Web程序 时间:
2020-01-24 17:13:54
阅读次数:
85
@[toc] 绝对值 distance$:|a b|$ properties$:(1)|x| \geq 0$,for all $x \in R$,and $"=” \Leftrightarrow x=0$ $(2):|a b|=|b a|(|x|=| x|)$ $(3):|x+y| \leq |x| ...
分类:
其他好文 时间:
2020-01-24 15:48:02
阅读次数:
144
Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements that appear twi ...
分类:
其他好文 时间:
2020-01-24 12:08:31
阅读次数:
78
题解 最短路径经典题型。套最短路的板子再加上额外的要求就可以了(说起来好简单)。SPFA也行,Dijkstra也可以。这里我用的是SPFA。因为题目要求,将地名和其对应的数字用map映射一下,这样方便处理。 same[i]代表到达地点 i 有几种路径; dist[i]代表从起点到地点 i 的最短距离 ...
分类:
其他好文 时间:
2020-01-24 00:32:49
阅读次数:
112
Given a non negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input Specificat ...
分类:
其他好文 时间:
2020-01-24 00:07:46
阅读次数:
93
查询接口 all() 查询所有结果,结果是queryset类型 filter( kwargs) and条件关系:参数用逗号分割表示and关系 其中filter的参数也可以通过字典方式传入 get( kwargs) 返回与所给筛选条件相匹配的对象,不是queryset类型,是行记录对象,返回结果有且只 ...
分类:
其他好文 时间:
2020-01-23 22:50:56
阅读次数:
125