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
4. spring相关API 4.1 ApplicationContext的继承体系 applicationContext:接口类型,代表应用上下文,可以通过其实例获得 Spring 容器中的 Bean 对象 4.2 ApplicationContext的实现类 1)ClassPathXmlAppl ...
分类:
编程语言 时间:
2021-06-08 23:14:29
阅读次数:
0
1、登录root用户 su oracle 或者 su - oracle 切换到数据库用户 2、进入SqlPlus sqlplus / as sysdba --进入sqlplus 注意语法 /和 as 之间有空格 否则报错 3、修改过期账户的密码, sys代表的是自己的用户名,双引号内的passwor ...
分类:
数据库 时间:
2021-06-08 22:49:41
阅读次数:
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
yum -y localinstall http://mirrors.ustc.edu.cn/mysql-repo/mysql57-community-release-el7.rpm yum install -y mysql-community-server if [ ! "$(cat /usr/b ...
分类:
数据库 时间:
2021-06-07 21:17:01
阅读次数:
0
yum -y install epel-release wget make gcc-c++ cd /opt wget https://download.redis.io/releases/redis-6.2.3.tar.gz tar -xf redis-6.2.3.tar.gz cd redis-6 ...
分类:
其他好文 时间:
2021-06-07 21:16:38
阅读次数:
0
@staticmethoddef unzip_file(failed_file): zip_file = zipfile.ZipFile(failed_file) print(zip_file) if os.path.isdir(failed_file[0:-20]): pass else: os. ...
分类:
编程语言 时间:
2021-06-07 20:42:48
阅读次数:
0
背景:服务器运行过程中发现内存不够用,缓存的又太多 现象: 解决办法: 1、同步数据到磁盘 [root@localhost ~]# sync 2、根据需求清除对应缓存 [root@localhost ~]# echo 3 > /proc/sys/vm/drop_caches 参数说明: 0 //默认 ...
分类:
系统相关 时间:
2021-06-07 20:40:37
阅读次数:
0
# # Django_静态文件夹的配置 # settings文件夹配置内容 # # STATIC_URL = '/static/' #别名,引用名 为了后端的更改不会影响前端的引入,避免造成前端大量修改 # STATICFILES_DIRS = ( # os.path.join(BASE_DIR," ...
分类:
其他好文 时间:
2021-06-07 20:39:36
阅读次数:
0
SqlSugar 学习 记录 1. 多表查询 三表查询 int total = 0; var list = db.Queryable<SYS_User_UserGroup, SYS_User, SYS_UserGroup>((a, b, c) => new object[] { JoinType.L ...
分类:
数据库 时间:
2021-06-07 20:34:16
阅读次数:
0