Vue 3.x $attrs 用法的改变
英文官方文档 Summary Make the attrs fallthrough behavior more consistent; Make it easier to pass all extraneous attrs to child elements / co…
HTML5 中的视频音频使用详解
一、video 1.1 video 支持视频格式 常见的视频格式 视频的组成部分:画面、音频、编码格式 视频编码: H.264 、 Theora 、 VP8(google 开源) HTML5 支…
LeetCode - 169. Majority Element 计数 + 位运算 + Partition + 分治
题目 直接排序 方法一: 直接排序,取中间的数,最简单的方法。 class Solution{ public int majorityElement(int[] nums) { Arrays.sort(nums); retur…
Linux 这样使用重定向输出
常用的标准输出重定向 > ls > 1.txt 将 ls 命令输出的内容写入到 1.txt,会覆盖文件中已经存在的内容,如果不想覆盖,可以在末尾追加,需要使用 >> 即…
- 共 1 页
- 1