同事离职了,接手了他的代码。。 有客户反馈登录密码错误后被锁定不会解锁,或者错误一次就被锁定(???)。 不多比比,直接代码看看 //登陆失败次数 int FailedCount = 0; if (null == Request.Cookies["FailedError"]) { HttpCooki ...
分类:
其他好文 时间:
2021-04-21 11:44:18
阅读次数:
0
载入模块: from datetime import datetime 字符串转datetime格式: time='2021.01.07' datetime.strptime(time,'%Y.%m.%d') time='2021-01-07' datetime.strptime(time,'%Y. ...
分类:
其他好文 时间:
2021-04-20 15:45:51
阅读次数:
0
前言 在学习算法很美课程的时候,学习到了一些位运算的奇技淫巧,收录在此 判断奇偶数 判断奇数1 & x == 1 System.out.println((1991 & 1) == 1); 判断偶数1 & x == 0 System.out.println((1990 & 1) == 0); 获取二进 ...
分类:
编程语言 时间:
2021-04-20 15:43:24
阅读次数:
0
Now our job as programmers changes from figuring out the rules, to determining the activities, to writing the code that matches the data to the labels ...
分类:
其他好文 时间:
2021-04-20 15:41:14
阅读次数:
0
sys:macOS Big Sur 版本 11.2.3 python: 3.8.5 selenium: 3.141.0 Chrome: 版本 90.0.4430.72(正式版本) (x86_64) Firefox: 87.0 (64 位) chromedriver: ChromeDriver 90. ...
分类:
其他好文 时间:
2021-04-20 15:38:18
阅读次数:
0
1.进程 定义:进程是运行中的程序,运行中的程序可以理解为内存中的代码指令和运行相关的数据被CPU读写并计算的过程。 有人会认为,要提升CPU的利用率,可以开多个进程,但是开多个进程的话,进程间通讯是个比较麻烦的事情(进程之间地址空间是独立的,需要通过其他方式,例如:管道来解决) 相反,线程之间是可 ...
分类:
编程语言 时间:
2021-04-20 15:30:44
阅读次数:
0
我对模拟退火的初步理解,还没深入了解过。这里只是用模拟退火求函数极值。 题目:https://vjudge.net/problem/HDU-2899 #include<bits/stdc++.h> using namespace std; #define IOS ios::sync_with_std ...
分类:
编程语言 时间:
2021-04-20 15:29:36
阅读次数:
0
Date date = new Date(((java.sql.Timestamp) message.getSendTime()).getTime()); DateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); format. ...
分类:
其他好文 时间:
2021-04-20 15:27:23
阅读次数:
0
简单实例: >存储过程,参数的传入! delimiter $ create procedure p1() begin declare i int default 10; select concat ('i的取值是:',i) as QuZhi; end $ delimiter $ create pro ...
分类:
数据库 时间:
2021-04-20 15:04:52
阅读次数:
0
mybatis-config.xml <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd ...
分类:
其他好文 时间:
2021-04-20 15:04:02
阅读次数:
0