已知一个长度为 n 的数组,预先按照升序排列,经由 1 到 n 次 旋转 后,得到输入数组。例如,原数组 nums = [0,1,2,4,5,6,7] 在变化后可能得到: 若旋转 4 次,则可以得到 [4,5,6,7,0,1,2] 若旋转 4 次,则可以得到 [0,1,2,4,5,6,7] 注意,数 ...
分类:
编程语言 时间:
2021-04-08 13:56:57
阅读次数:
0
Java的诞生 1972年C语言诞生 1982年C++诞生 1995年Java诞生 Java发展 Java2标准版(J2SE)桌面领域 Java2移动版(J2ME)手机领域 Java2企业版(J2EE)服务器领域 基于Java开发的平台、系统、工具 构建工具:Ant,Maven,Jekins 应用服 ...
分类:
编程语言 时间:
2021-04-08 13:47:18
阅读次数:
0
开发时使用,生产环境关闭 1.Adding devtools to your project <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> ...
分类:
其他好文 时间:
2021-04-08 13:37:40
阅读次数:
0
1、查找/var目录下属主为root,且属组为mail的所有文件 有目录没有文件,-type f [14:29:30 root@centos7 ~]#find /var -user root -a -group mail -ls 67142179 4 drwxrwxr-x 2 root mail 4 ...
分类:
其他好文 时间:
2021-04-08 13:25:06
阅读次数:
0
在centos7.5中解决bash: pip:command not find 问题 [root@localhost ~]# python get-pip.py Hi there! The URL you are using to fetch this script has changed, and ...
分类:
其他好文 时间:
2021-04-08 13:04:02
阅读次数:
0
Maven 遇到Idea中无论如何导入依赖都是调用中央仓库而不是镜像源的问题 检查IDEA中maven配置是否正确 查看是否使用的是自己的setting.xml配置 检查镜像源配置是否有错 <!-- 阿里云镜像仓库 --> <mirror> <id>nexus-aliyun</id> <mirror ...
分类:
其他好文 时间:
2021-04-08 12:54:58
阅读次数:
0
查找 find . -type f -size +10M -print0 | xargs -0 du -h | sort -nr 删除,指定名字的所有文件 find ./xx -name "xx" -type f -print -exec rm -rf {} \; 计数 ls -l|grep "^- ...
分类:
系统相关 时间:
2021-04-07 11:19:58
阅读次数:
0
Spring Boot 和 Spring Cloud 已成为当前最流行的微服务框架。本文通过样例演示如何搭建并运行一个简单的 Spring Boot 项目。 在开发之前,首先确认我们的电脑上已经有以下环境: Java azul-16 maven 3.6.3 IntelliJ IDEA 2020.3 ...
分类:
编程语言 时间:
2021-04-07 10:35:30
阅读次数:
0
补充命令: tracepath 网址 -- 路由跟踪 netstat –an -a 所有开放端口号查询 -n ip地址查看 netstat –an | grep 80 查看80端口号是否开启 tree 查看目录的结构关系 find 查找文件位置 可用--type b/d/c/p/l/f 参数指定文件 ...
分类:
其他好文 时间:
2021-04-06 15:02:57
阅读次数:
0
初次学习mybatis,跑一个最简单的demo,然而报错: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: Cannot find ...
分类:
数据库 时间:
2021-04-06 14:48:09
阅读次数:
0