用到的命令行: show status like 'Threads%'; show variables like '%max_connections%'; show global status like 'Max_used_connections'; 所以可以在mysql 命令行 尝试下重新设置以下 ...
分类:
其他好文 时间:
2020-02-07 14:28:15
阅读次数:
78
You are given a list of non-negative integers, a1, a2, ..., an, and a target, S. Now you have 2 symbols + and -. For each integer, you should choose o ...
分类:
其他好文 时间:
2020-02-06 23:22:15
阅读次数:
72
关于七牛 在第一篇文章中,我提到,项目的自动部署是放在 now.sh 上,以方便预览。但出于用户体验和速度的考虑,我们选择了国内的七牛云作为页面的承载。不过,七牛毕竟是一个对象存储,而不是一个专业的 Static Hosting 业务,在使用上出现了不少问题。 七牛的 Bucket 名规则 和绝大多 ...
分类:
Web程序 时间:
2020-02-06 19:50:58
阅读次数:
87
# 关闭 lightdm启动器 sudo systemctl disable lightdm # 重启即可看到效果 sudo shutdown -r now # 设置开机默认进入图形界面 sudo systemctl enable lightdm ...
分类:
其他好文 时间:
2020-02-06 11:01:37
阅读次数:
444
try { //先判断数据是否完整,例如分差,学校表和专业是否导入 /* var cx_fsd = from aa in sjklj.zy_fswc where aa.nd >= DateTime.Now.Year - 1 && aa.nd <= DateTime.Now.Year && aa.lb ...
分类:
数据库 时间:
2020-02-04 23:59:49
阅读次数:
132
行级策略实验 创建测试表并插入数据: TEST=# create table test(id serial primary key, user_name varchar(32), crt_time timestamp default now()); CREATE TABLE TEST=# inser ...
分类:
数据库 时间:
2020-02-04 18:52:10
阅读次数:
119
用到的表的介绍 student: sid(学生ID),sname(学生姓名),sage,ssexcourse: cid(课程ID),cname,tid(教师ID)teacher: tid,tnamesc:sid,cid,score 只是附上题目和代码,没有运行结果 1.查询"01"课程比"02"课程 ...
分类:
数据库 时间:
2020-02-04 15:50:52
阅读次数:
124
We are given an array A of N lowercase letter strings, all of the same length. Now, we may choose any set of deletion indices, and for each string, we ...
分类:
其他好文 时间:
2020-02-04 10:24:21
阅读次数:
67
that引导主语从句 一般置于句末,偶尔也置于句首 that引导的主语从句置于句首 1. That the seas are being overfished has been known for years. 2. That the plates are moving is now beyond ...
分类:
其他好文 时间:
2020-02-03 13:48:28
阅读次数:
80
<?php //PRC是中国的意思,这段代码是把默认时区设置成了中国标准时间。date_default_timezone_set('PRC');/** * 获取最近一周,一个月,一年 * */function getLatelyTime($type = ''){ $now = time(); $re ...
分类:
Web程序 时间:
2020-02-02 20:02:53
阅读次数:
96