using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System. ...
帮助类: using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using MySq ...
分类:
数据库 时间:
2020-11-01 21:58:38
阅读次数:
29
zabbix推荐使用nginx服务器,性能较高。为了满足安全访问,现在需要配置https,主要是对nginx的ssl模块进行配置,还要生成zabbix-server对应的证书文件之前已经安装过zabbix5.0,选择的配置环境如下:详细的安装方法见官方文档:https://www.zabbix.com/download?zabbix=5.0&os_distribution=centos&a
分类:
Web程序 时间:
2020-11-01 21:41:34
阅读次数:
33
1.[HEOI2013]SAO 题意实际上是让你求拓扑序数。 引用 \(\text{shaowice1984}\) 学长的一句话:“这题要是想拓扑图就凉了。” 我们可以先忽略边的限制直接建树,然后跑树形dp。 子树内的点对顺序到lca处统计贡献。 我们设 \(f[i][j]\) 表示 \(i\) 这 ...
分类:
其他好文 时间:
2020-11-01 20:58:18
阅读次数:
14
在项目开发时,我们常常用到ref和refs两个属性。 一、一般来说,如果我们把ref属性定义到html元素之上,我们就可以对html元素进行DOM操作了,省去了传统的Document.getlelementById操作了, 例如: <input type="text" ref="input" /> ...
分类:
其他好文 时间:
2020-11-01 10:40:55
阅读次数:
11
计算机操作系统 - 调度算法 一、调度算法 工作集算法 LRU OPT CLOCK 高响应比 二、详细 工作集算法 考察最近使用的页面(分页)。由工作集窗口和时间决定。选定特定时间的工作集窗口,去除重复项即得到工作集。 \[ \text{工作集} \le \text{工作集窗口} \] 操作系统需要 ...
分类:
编程语言 时间:
2020-11-01 10:18:05
阅读次数:
20
package LeetCode_153 /** * 153. Find Minimum in Rotated Sorted Array https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/ Suppose an ar ...
分类:
其他好文 时间:
2020-11-01 10:11:19
阅读次数:
19
由于我的VScode出了问题就在终端里使用。 text='20201225' import hashlib m=hashlib.md5() m. update(str.encode(text))m=m.hexdigest()import uuidres=str(uuid.uuid4)print(re ...
分类:
其他好文 时间:
2020-11-01 09:57:34
阅读次数:
22
写表单过程中,经常会遇见需要使用两端对齐的情况,如下图,这里记录一下两端对齐的小坑 css样式如下: 1 view{ 2 display: inline-block; 3 width: 150rpx; 4 text-align:justify; 5 text-align-last:justify; ...
分类:
Web程序 时间:
2020-10-31 02:03:02
阅读次数:
33
https://ma.ttias.be/nginx-proxy-upstream-sent-big-header-reading-response-header-upstream/#:~:text=If%20the%20HTTP%20headers%20contain,configurations% ...
分类:
其他好文 时间:
2020-10-31 02:02:24
阅读次数:
15