设置仓库 更新 apt 包索引。 $ sudo apt-get update 安装 apt 依赖包,用于通过HTTPS来获取仓库: $ sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent ...
分类:
系统相关 时间:
2021-04-16 11:59:52
阅读次数:
0
一起学习jquery, 解决的办法是:使用button按钮,而不是submit按钮 看下面的例子 <title>用户修改密码</title> <script type="text/javascript" src="scripts/jquery-2.0.2.js"></script> <script ...
分类:
Web程序 时间:
2021-04-15 12:28:59
阅读次数:
0
package com.example.query; import java.io.Serializable; public class UserQuery implements Serializable { private Integer id; private String username; ...
type Location = { //这是一个location pathname: Pathname; search: QueryString; query: Query; state: LocationState; action: Action; key: LocationKey;};class ...
分类:
其他好文 时间:
2021-04-13 12:11:38
阅读次数:
0
题目来源 Full Binary Tree Description In computer science,a binary tree is a tree data structure in which each node has at most two children. Consider an ...
分类:
其他好文 时间:
2021-04-13 12:02:15
阅读次数:
0
##RequestMapping RequestMapping中的method方法 method:指定请求的method类型, GET、POST、PUT、DELETE等; ##GetMapping 看一下注解的底层源码 可以看到底层用了@RequestMapping(method = Request ...
分类:
移动开发 时间:
2021-04-13 11:47:36
阅读次数:
0
TRUNCATE 用法: TRUNCATE TABLE 表名 DDL语句,删除内容、释放空间,保留表结构。删除表数据,不能删除行数据。 DELETE 用法: DELETE TABLE 表名 WHERE 条件 DML语句,同TRUNCATE类似,DELETE即可删除行也是删除整个表数据,删除操作有记录 ...
分类:
数据库 时间:
2021-04-12 12:56:56
阅读次数:
0
1. vi /etc/my.cnf 2. update mysql.user set authentication_string=password('123456') where user='root' and host='localhost'; 3. FLUSH PRIVILEGES; ...
分类:
数据库 时间:
2021-04-12 12:44:01
阅读次数:
0
使用mysql-8.0.23版的,创建用户屡屡失败,最终靠万能的度娘解决: 已知版本信息: C:\Users\Administrator\Desktop\mysql-8.0.23-winx64\mysql-8.0.23-winx64\bin>mysql -Vmysql Ver 8.0.23 for ...
分类:
数据库 时间:
2021-04-12 12:20:25
阅读次数:
0
为什么选择左深连接树 对于n个表的连接,数量为卡特兰数,近似$4^n$,因此为了减少枚举空间,早期的优化器仅考虑左深连接树,将数量减少为$n!$ 但为什么是左深连接树,而不是其他样式呢? 如果join算法为index join或者hash join,当两张表进行连接的时候,需要为左表建立哈希映射或者 ...
分类:
数据库 时间:
2021-04-12 12:06:32
阅读次数:
0