配置git: git config --global user.name "XXX" git config --gloaal user.email "XXX@...com" 文件在用户目录下 .gitconfig 中,可以手动删除 关联远程仓库 转到工程目录下 为了下次连接远程仓库不用输入密码,设置 ...
分类:
其他好文 时间:
2021-04-19 15:55:18
阅读次数:
0
:: 和 -> 都是java8新特性中lambda表达式的一种,主要是大大减少了代码量,提高效率 lambda表达式通常都是采用左边方法右边参数的写法,例如: stu -> stu.getStuId() 同时这个写法也可以写成 stu :: stu.getAge 注意这里没有方法后面的括号,可以看如 ...
分类:
其他好文 时间:
2021-04-16 11:57:33
阅读次数:
0
只能用指定字符,实现函数功能 /* * CS:APP Data Lab * * <Please put your name and userid here> * * bits.c - Source file with your solutions to the Lab. * This is the ...
分类:
移动开发 时间:
2021-04-15 12:42:58
阅读次数:
0
大量的等待事件,系统缓慢,从AWR看DBtime已经满负载了,主要等待事件如下 Enq: KO - Fast Object Checkpoint 占比DBTime的45%。通过ASH查询阻塞关系,等待该事件的用户SQL都被796会话阻塞,而该用户是CKPT进程。 SYS@orcl1>select s ...
分类:
其他好文 时间:
2021-04-14 12:37:28
阅读次数:
0
一、 MongoDB 聚合管道 用途:表关联查询、数据统计。 db.COLLECTION_NAME.aggregate(AGGREGATE_OPERATION) 二、 MongoDB Aggregation 管道操作符与表达式 管道操作符 SQL 和 NOSQL 对比 Description $pr ...
分类:
数据库 时间:
2021-04-14 12:33:34
阅读次数:
0
1.数据库连接 1 package util; 2 3 import com.alibaba.druid.pool.DruidDataSourceFactory; 4 5 import javax.sql.DataSource; 6 import java.io.IOException; 7 imp ...
分类:
Web程序 时间:
2021-04-14 12:19:31
阅读次数:
0
<%@ page contentType="text/html;charset=UTF-8" language="java"%> <html> <head> <title>登陆界面</title> <link rel="stylesheet" href="./layui/css/layui.css" ...
分类:
Web程序 时间:
2021-04-13 12:20:28
阅读次数:
0
Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better tha ...
分类:
编程语言 时间:
2021-04-13 12:03:32
阅读次数:
0
解题思路:抓取非空格的元素对数组从头开始覆盖重写 1 #include<stdio.h> 2 int main() 3 { 4 char str[100]; 5 char *ch,*p; 6 p=ch=str; //一个指针进行重写 一个指针负责抓取非空格字符 7 gets(str); 8 whil ...
分类:
其他好文 时间:
2021-04-12 12:30:33
阅读次数:
0
补题链接:Here LCA 算法讲解:Here 考虑用 \(f[i][j]\) 表示从i往上走,能买珠宝的第 \(2^j\) 个点是哪个,显然,如果我们知道每个 $f[i][0]$的值, 那么 \(f[i][j]=f[f[i][j?1]][j?1]\) ( i 往上的第2 j?1 个点再往上 2j? ...
分类:
其他好文 时间:
2021-04-12 12:10:35
阅读次数:
0