微信小程序自定义导航栏 navigation bar 返回键 首页 github: https://github.com/chen-yt/wx_custom_navigation_bar https://github.com/Superman2113/wx_custom_navigation_bar ...
分类:
微信 时间:
2020-02-06 10:35:52
阅读次数:
171
使用这个后可以实现屏幕自适应 效果如下 <template> <div style="width:100%;height:20rem" ref="res1"> <!-- <v-chart :options="polar" style="width: 100%;height:100%;" ref="e ...
分类:
其他好文 时间:
2020-02-06 10:34:16
阅读次数:
574
QT_4 QMainWindow QMainWindow是一个为用户提供主窗口程序的类,包含一个菜单栏(menu bar)、多个工具栏(tool bars)、多个锚接部件(dock widgets)、一个状态栏(status bar)及一个中心部件(central widget),是许多应用程序的基 ...
[toc] 前言 本文使用阿里云centos7,搭建git服务器,并实现免密 。 使用的服务器ip: 1、安装git 用yum安装,比较简单。 安装完成后,用 查看版本。 2、创建一个git用户 3、创建证书登录 3.1、打开RSA认证 修改 文件中的3项内容,改为: 3.2、创建authorize ...
分类:
其他好文 时间:
2020-02-03 20:41:06
阅读次数:
109
木之子梦之蝶 js打开新窗口 Window.open()方法 完整的代码 window.open('page.html', 'newwindow', 'height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=n ...
分类:
Web程序 时间:
2020-02-03 10:03:30
阅读次数:
115
某个div(class="box"),设置了它的属性 。溢出部分会以滚动的形式显示。这时,可以对这个div设置这部分的滚动条的样式了。 ...
分类:
Web程序 时间:
2020-02-02 21:31:17
阅读次数:
75
mysql按时间统计数据,没有数据的时候自动补充0 1.数据库中选择任意一个有数据的表,例如我选择的是 shopping_user 表 SELECT @cdate := DATE_ADD( @cdate, INTERVAL - 1 DAY ) `date`, 0 AS `sum` FROM ( SE ...
分类:
数据库 时间:
2020-02-02 15:26:54
阅读次数:
67
plt.hist() 字体测试 plt.hist(x, bins=None, range=None, density=None, weights=None, cumulative=False, bottom=None, histtype='bar', align='mid', orientation ...
分类:
其他好文 时间:
2020-02-02 11:49:47
阅读次数:
81
安装pstree:yum install psmisc -y 作用:用于追踪子进程的父进程 使用场景:需要知道某个子进程的父进程时; 常用选项: -a:显示命令行选项(即显示启动进程所使用的命令) -p:打印出父进程的pid号 -s:显示子进程所有的父进程(默认只显示子进程的第一个父进程) 注:ap ...
分类:
系统相关 时间:
2020-02-01 12:15:25
阅读次数:
92
协方差矩阵的定义 设一个随机向量为$\mathbf{x} \in \mathbb{R}^\mathrm{N}$,其均值为$\bar{\mathbf{x}}$,则令$\mathbf{y} = \mathbf{x} \bar{\mathbf{x}}$,则随机向量$\mathbf{x}$的协方差定义为: ...
分类:
其他好文 时间:
2020-01-31 23:08:43
阅读次数:
198