码迷,mamicode.com
首页 >  
搜索关键字:name that number    ( 120481个结果
多进程的调用(multiprocessing.Process)
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
vue使用this.$router跳转路由与传值取值
本窗口打开: 传参: 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
解决Newtonsoft.Json版本问题
<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
http强制访问https - Apache
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
Mybatis一级缓存和二级缓存的区别
1)一级缓存 Mybatis的一级缓存是指SQLSession,一级缓存的作用域是SQlSession, Mabits默认开启一级缓存。 在同一个SqlSession中,执行相同的SQL查询时;第一次会去查询数据库,并写在缓存中,第二次会直接从缓存中取。 当执行SQL时候两次查询中间发生了增删改的操 ...
分类:其他好文   时间:2021-06-08 22:49:29    阅读次数:0
kali Linux--打开&关闭防火墙
1.安装ufw apt-get install ufw 2.关闭防火墙 ufw disable. 3.开启防火墙 ufw enable ...
分类:系统相关   时间:2021-06-08 22:47:22    阅读次数:0
js进度条实现原理
<!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
Krypton Number System UVA - 11651
原题链接 考察:矩阵快速幂+线性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
120481条   上一页 1 ... 32 33 34 35 36 ... 12049 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!