Advanced One to one video call 本示例是上一个示例的进阶版,添加了滤镜和录像回放功能 官网文档 Advanced One to one video call 首先从github上获取代码(如果已经获取可以跳过,获取的代码已经包括后面的示例代码了) git clone h ...
分类:
其他好文 时间:
2020-05-20 15:53:22
阅读次数:
53
双指针 思路: 一个指针负责遍历,另一个指针负责记录,遇到不同值时更新状态。 class Solution: def countAndSay(self, n: int) -> str: def getResult(para:str)->str: record = para[len(para)-1] ...
分类:
其他好文 时间:
2020-05-20 14:04:26
阅读次数:
45
vue绑定class <style type="text/css"> .active{ width: 200px; height: 200px; background-color: aqua; } </style> <div id="app"> <!-- 通过对象的方式决定是否存在某个类 --> < ...
分类:
其他好文 时间:
2020-05-19 23:15:32
阅读次数:
169
Good news! Foxwell NT530 code scanner is confirmed to cover Isuzu, Subaru, Suzuki car models. Attachment: Foxwell NT530 Isuzu function list (N*) ELF,N ...
分类:
其他好文 时间:
2020-05-19 18:42:48
阅读次数:
50
html 部分: 1 <div> <!-- 卡片按钮 --> 2 <div> 3 <ul> 4 <li 5 v-for="(item,index) in list" 6 :key="item.index" 7 :class="{active:num==index}" 8 @click="getNum ...
分类:
其他好文 时间:
2020-05-19 18:29:47
阅读次数:
61
移动端不能使用click,因为click会有300ms。所有有了fastclick这样的解决方案。然后fastclick并没有解决点击态(用户点击的瞬间要有及时的外观变化反馈)的问题。hover会有不消失的问题,所有大家一般用:active。利用 :active 伪类来设置某元素被点击时的点击态样式 ...
分类:
其他好文 时间:
2020-05-19 10:28:10
阅读次数:
60
用户的其他修改命令(了解) 用户的扩展知识 用户的密码管理 bash passwd 创建密码的规范 1.密码的长度最好大于10位字符 2.密码中包含大小写字母数字以及特殊字符 ! @ $ 3.不规则性(不要出现自己名字、公司名字、自己电话、等等简单的密码) [root@localhost ~] pa ...
分类:
其他好文 时间:
2020-05-18 23:05:04
阅读次数:
109
伪类描述 :active{ ... } 元素 : active{ ... } 向被激活的元素添加样式。 :focus{ ... } 元素 : focus{ ... } 向拥有键盘输入焦点的元素添加样式。 :hover{ ... } 元素 : hover{ ... } 当鼠标悬浮在元素上方时,向元素添 ...
分类:
Web程序 时间:
2020-05-18 16:39:40
阅读次数:
80
有时候没动画 有几次使用vue+animate.css竟然无法做出动画, 原因是vue的动画播放只在v if或v show切换显示/隐藏对象时才会触发. 推荐还是可以自己写过渡动画, 方法如下: html ` hello ` css `.fade enter active, .fade leave ...
分类:
其他好文 时间:
2020-05-18 16:33:12
阅读次数:
452
部署概述: 将代码上传至云服务器,使用python3 -m venv env 创建虚拟环境,使用source env/bin/active.. 激活虚拟环境, 通过pip install -r requirements.txt 文件安装模块,编写配置文件uwsgi(自己添加模块安装), 使用uwsg ...
分类:
其他好文 时间:
2020-05-18 16:29:02
阅读次数:
64