Webpack5的变化 开箱即用webpack serve命令,只需要安装webpack-dev-server就可以直接启用了。 Usage: webpack s | serve Description: Run the webpack Dev Server ...
分类:
Web程序 时间:
2020-10-21 21:06:59
阅读次数:
30
Editing the attributes of annotation编辑注记属性 Editing the attributes of annotation You can edit annotation attributes in the Attributes window, which pro... ...
分类:
其他好文 时间:
2020-10-21 20:40:20
阅读次数:
20
1、ANR介绍1.1ANR是什么ANR,全称为ApplicationNotResponding,也就是应用程序无响应。如果Android应用的界面线程处于阻塞状态的时间过长,就会触发“应用无响应”(ANR)的错误。此时系统会向用户显示一个对话框,ANR对话框会为用户提供强行退出应用的选项。1.2ANR的四种类型 在Android系统中,应用程序的响应由ActivityMana
分类:
移动开发 时间:
2020-10-21 20:34:47
阅读次数:
36
K8S之存储Volume概述与说明,并详解常用Volume示例 ...
分类:
Web程序 时间:
2020-10-20 16:19:32
阅读次数:
31
1,打开网址下载mysql yum源 https://dev.mysql.com/downloads/repo/yum/ 根据linux版本选择不同的rpm包 ,我的是centos7.5,所以我选择第二个 2,点击下载 点击获得地址 二、下载和安装mysql源,wget 加上刚刚复制的地址 如果显示 ...
分类:
数据库 时间:
2020-10-19 22:49:58
阅读次数:
37
1.磁盘分区:裁剪分区fdisk---格式化mkfs创建文件系统(mkswap)---挂载mountfdisk/dev/sdb+2G设置大小(n创建新的分区,l列举分区类型,p打印出分区,t修改分区类型,d删除,w保持退出,q单纯退出)vim/etc/fstabpartprobe同步分区表du-sh/*根目录下所以目录占用空间大小添加交换分区fdisk/dev/sdbn创建一个扩展分区,再创建一个
分类:
其他好文 时间:
2020-10-19 22:20:30
阅读次数:
22
[root@localhost ~]# yum install -y gcc gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel perl-devel perl-ExtUtils-Embed gd-devel [root@loc ...
分类:
其他好文 时间:
2020-10-18 10:12:36
阅读次数:
31
#!/bin/bash #by wwp 2020-10-14 for ip in `cat ip.list` do { ping -c1 -W1 $ip &>/dev/null if [ $? -eq 0 ];then ssh $ip "sed -ri '/^#UseDNS/cUseDNS no' ...
分类:
其他好文 时间:
2020-10-18 09:49:45
阅读次数:
23
1. 渲染项目列表时,“key” 属性的作用和重要性是什么? 渲染项目列表时,key 属性允许 vue 跟踪每个 Vnode。key 值必须是唯一的。 如果没有使用 key 属性,并且列表的内容发生了改变(例如对列表进行排序),则虚拟 DOM 宁愿使用更新的数据来修补节点,来反映更改,而不是上下移动 ...
分类:
Web程序 时间:
2020-10-18 09:49:02
阅读次数:
28
#!/bin/bash#by wwp 2020-10-14#for openssh>ip.listpasswd=6rpm -q expect &>/dev/nullif [ $? -ne 0 ] ; then yum -y install expect >/dev/null && echo "exp ...
分类:
其他好文 时间:
2020-10-18 09:39:56
阅读次数:
15