DIV水平垂直居中 div { width: 100px; height: 100px; position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: auto;} 父级控制子集居中(弹性布局).parent { display: ...
分类:
Web程序 时间:
2021-01-15 11:40:06
阅读次数:
0
前言 通过本文最终实现了在M1芯片的Mac mini上的Goland的开发,并通过编译源码解决了无法DEBUG的问题。 Go 1.16版将正式支持Apple Silicon M1芯片,即arm64架构的Mac操作系统,目前go 1.16版版本为beta1,只是会在这个基础上再修修bug,改进文档等。 ...
分类:
系统相关 时间:
2021-01-14 11:32:40
阅读次数:
0
Introduction to the CSS basic box model When laying out a document, the browser's rendering engine represents each element as a rectangular box accord ...
分类:
Web程序 时间:
2021-01-14 11:29:41
阅读次数:
0
树的构造 class TreeNode: def __init__(self,val,left=None,right=None): self.val=val self.left=left self.right=right t7 = TreeNode(7) t6 = TreeNode(6) t5 = ...
分类:
其他好文 时间:
2021-01-14 11:27:23
阅读次数:
0
物理卷PV,卷组VG,逻辑卷LV 物理卷:每个4m,基本单元 卷组:由物理卷组成的组,作为一个新的大磁盘 逻辑卷:划分上面的大磁盘,就可以分区 三种卷的操作 实验: 1.关机插入四个20G硬盘 查看当前磁盘情况 fdisk -l | grep /dev/sd 2.将前三个硬盘创建成物理卷 pvcre ...
分类:
其他好文 时间:
2021-01-14 11:22:10
阅读次数:
0
#!/bin/bashecho -e "\033[36m \t\t\t 優化系統核心參數 \t\t\t \033[0m" grep 'keepalive_time = 1200' /etc/sysctl.conf &>/dev/null if [ $? -ne 0 ];then cat >> /et ...
分类:
其他好文 时间:
2021-01-14 10:58:27
阅读次数:
0
sudo apt-get update sudo apt-get install python3-dev # 装talib前要先装numpy python3.6 -m pip install numpy -i https://pypi.doubanio.com/simple wget http:// ...
分类:
系统相关 时间:
2021-01-14 10:54:36
阅读次数:
0
13分钟内递归一次性解出 思路如下: class Solution { public boolean isSymmetric(TreeNode root) { //注意可能为null if(root==null) {return true;} return mirrorTree(root.left, ...
分类:
其他好文 时间:
2021-01-14 10:53:52
阅读次数:
0
题意:提问有多少个长度为n的a集合0<a<\(\2^k\),满足$\l_i$到$\r_i$的区间&的值为$x_i$ 原题链接 题解:最首先就是要拆位,对于&操作来说每一位是分开的,dp[i][j]表示是前i位最近的一个0在j位的方案数, 从第i为到第i+1位时,假如z到i+1位有一个是0,则dp[i ...
分类:
其他好文 时间:
2021-01-14 10:46:55
阅读次数:
0
I'm back.I've get an offer from my current job,as a developer. Also, I decide to maintian my hobby to write down what I've learnt during my closing ti ...
分类:
其他好文 时间:
2021-01-14 10:42:08
阅读次数:
0