import multiprocessing, time, os# def pro(name):# print('hello', name, time.ctime())## if __name__ == '__main__':# l = []# for t in range(4):# t = mul ...
分类:
系统相关 时间:
2021-06-08 23:20:39
阅读次数:
0
本窗口打开: 传参: this.$router.push({ name: 'info-detail', params: {id: id}}) 取参: this.$route.params.id 新窗口打开 传参: window.open(this.$router.resolve({ path: 'i ...
分类:
其他好文 时间:
2021-06-08 23:19:17
阅读次数:
0
<runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30AD ...
分类:
Web程序 时间:
2021-06-08 23:12:21
阅读次数:
0
before_request、after_requestfrom flask import Flask,render_template,redirect app = Flask(__name__) """ before_reuqest = [xxxxxxxxxx1,xxxxxxxxxx2] """ ...
分类:
其他好文 时间:
2021-06-08 23:12:09
阅读次数:
0
server { listen 80; server_name www.yourweb.com; rewrite ^(.*)$ https://$host$1 permanent; } ...
分类:
Web程序 时间:
2021-06-08 22:57:22
阅读次数:
0
if (!-d $request_filename){ set $rule_0 1$rule_0; } if (!-f $request_filename){ set $rule_0 2$rule_0; } if ($rule_0 = "21"){ rewrite ^/(.*)$ /index.ph ...
分类:
其他好文 时间:
2021-06-08 22:57:09
阅读次数:
0
1)一级缓存 Mybatis的一级缓存是指SQLSession,一级缓存的作用域是SQlSession, Mabits默认开启一级缓存。 在同一个SqlSession中,执行相同的SQL查询时;第一次会去查询数据库,并写在缓存中,第二次会直接从缓存中取。 当执行SQL时候两次查询中间发生了增删改的操 ...
分类:
其他好文 时间:
2021-06-08 22:49:29
阅读次数:
0
1.安装ufw apt-get install ufw 2.关闭防火墙 ufw disable. 3.开启防火墙 ufw enable ...
分类:
系统相关 时间:
2021-06-08 22:47:22
阅读次数:
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< ...
分类:
Web程序 时间:
2021-06-08 22:44:10
阅读次数:
0
原题链接 考察:矩阵快速幂+线性dp 思路: 这个dp定义完全不敢往那方面想(),定义f[i][j]为分数为i,最后一位为j的方案数. i==0 f[0][1~base] = 1; 显然 f[1][j] += f[0][k] j与k的差的平方=1 以此类推,但是当i>(base-1)*(base-1 ...
分类:
其他好文 时间:
2021-06-08 22:43:20
阅读次数:
0