express-session http://www.expressjs.com.cn/en/resources/middleware/session.html var session = require('express-session') store The session store inst ...
分类:
其他好文 时间:
2020-02-02 01:12:30
阅读次数:
69
//最小生成树Prim算法 #include <iostream> #include <cstring> using namespace std; const int INF=0x7fffffff/2; int vst[505]; int d[505]; int g[505][505], n, m, ...
分类:
其他好文 时间:
2020-02-02 01:07:13
阅读次数:
65
CAST 和 CONVERT将某种数据类型的表达式显式转换为另一种数据类型。CAST 和 CONVERT 提供相似的功能。 语法使用 CAST: CAST ( expression AS data_type ) 使用 CONVERT: CONVERT (data_type[(length)], ex ...
分类:
数据库 时间:
2020-02-01 19:05:09
阅读次数:
81
题目描述 You are given an array of nn integers a_{1}...\ a_{n}a1?... an? . The cost of a subsegment is the number of unordered pairs of distinct indices w ...
分类:
其他好文 时间:
2020-02-01 16:12:00
阅读次数:
69
Problem DescriptionContest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guess ...
分类:
其他好文 时间:
2020-02-01 16:05:23
阅读次数:
66
先创建文件denyIP将过滤出的IP写到其中然后在配置文件制定路径include/usr/local/nginx/conf/denyIP;zone:=one:10m:设置一个名字为one,大小为100M的缓存空间m=分钟s=秒,每分钟两千次请求,或每秒钟200次请求limit_req_zone$binary_remote_addrzone=one:100mrate=2000r/m;定义一个名为al
分类:
其他好文 时间:
2020-01-31 17:19:22
阅读次数:
97
测试代码: void OsgEarthGraphicsView::resizeEvent(QResizeEvent* event) { //if (scene()) //{ // scene()->setSceneRect(QRect(QPoint(0, 0), event->size())); / ...
分类:
其他好文 时间:
2020-01-31 12:30:11
阅读次数:
98
一、程序的流程结构 程序的流程控制结构一共有三种:顺序结构,选择结构,循环结构。 顺序结构:从上向下,逐行执行。 选择结构:条件满足,某些代码才会执行。0-1次 分支语句:if,switch,select 循环结构:条件满足,某些代码会被反复的执行多次。0-N次 循环语句:for 二、条件语句 2. ...
分类:
其他好文 时间:
2020-01-31 12:28:56
阅读次数:
69
vue-cli3打包时遇到Cannot assign to read only property 'exports' of object '#<Object>'问题的解决方法。 大致是说,在webpack打包的时候,可以在js文件中混用require和export。但是不能混用import 以及mo ...
分类:
其他好文 时间:
2020-01-31 12:16:14
阅读次数:
94
使用注解配置spring mvc (1)spring mvc的配置文件 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http: ...
分类:
编程语言 时间:
2020-01-31 10:41:38
阅读次数:
76