起步 利用 html5 的 <video> 标签可以播放: 1 2 3 4 <video width="320" height="240" controls> <source src="/static/video/demo.mp4" type="video/mp4"> 您的浏览器不支持Video标签 ...
分类:
其他好文 时间:
2021-05-24 12:43:30
阅读次数:
0
1.数据结构 基本结构为B+树,B+树的数据结构: https://www.cnblogs.com/liuxuelin/p/14773342.html 2.B-tree索引的操作 2.1索引的创建 首先将每一个需要索引的元组生成对应的索引元组,然后调用tuplesort对索引元组进行排序,最后创建索 ...
分类:
其他好文 时间:
2021-05-24 12:33:21
阅读次数:
0
1. VMware:编辑 → 虚拟网络编辑器 → 更改设置 2. 取消选中:使用本地DHCP服务将IP地址分配给虚拟机,并记住子网ip 3. 点击NAT设置,记住网关IP 正常情况下VMware的网关IP是以 192.168.x.2结尾的,因为 x.1是绑定在物理机的虚拟网卡上的,而 x.2是用于转 ...
分类:
系统相关 时间:
2021-05-24 12:30:28
阅读次数:
0
书写一个资源管理器(文件树) 一.简单模型理解 简单的文件树: 默认结点类型 根结点 (DefaultMutableTreeNode)root 根结点添加子节点 root.add(默认结点类型 子结点) 默认文件树模型(带根结点) DefaultTreeModel treeModel 树 Jtree ...
分类:
其他好文 时间:
2021-05-24 12:26:41
阅读次数:
0
前言 很基础的一道树形DP题。 题目 AtCoder 题目大意: 给定一棵 \(N\) 个点的带权树,询问每个无序点对间的异或距离和。答案对 \(10^9+7\) 取模。 \(2\le N\le 2\times 10^5;0\le w_i\le 2^{60}.\) 讲解 先考虑边权是 \(0,1\) ...
分类:
其他好文 时间:
2021-05-24 12:25:02
阅读次数:
0
一、CentOS 7 防火墙命令: CentOS升级到7之后,发现无法使用iptables控制Linuxs的端口,baidu之后发现Centos 7使用firewalld代替了原来的iptables。下面记录如何使用firewalld开放Linux端口: 开启端口 firewall-cmd --zo ...
分类:
其他好文 时间:
2021-05-24 12:20:09
阅读次数:
0
一、目标网址 http://wz.sun0769.com/political/index/politicsNewest 二、scrapy创建项目 scrapy startproject SunPro cd SunPro scrapy genspider -t crawl sun www.xxx.co ...
分类:
其他好文 时间:
2021-05-24 12:12:10
阅读次数:
0
wxml: <!--导航条--><view class="navbar"> <text wx:for="{{navbar}}" data-idx="{{index}}" class="item {{currentTab==index ? 'active' : ''}}" wx:key="unique ...
分类:
微信 时间:
2021-05-24 12:04:59
阅读次数:
0
一、将本地文件修改后push到远程分支有时会出现 devlops|MERGING 1 2 3 4 5 6 7 8 9 10 11 12 13 git add . git commit -m "feat:优惠券功能" git pull ........... (devlops|MEARGE) git ...
分类:
其他好文 时间:
2021-05-24 11:59:51
阅读次数:
0
简介 接雨水. 简单思路 排序, 依次选择最高的柱子,所围城的池塘高度 code class Solution { public: struct zhuzi{ int height; int index; }; bool static cmp(const struct zhuzi &a, const ...
分类:
其他好文 时间:
2021-05-24 11:50:06
阅读次数:
0