1. 题目描述 1. 给你一个包含 n 个整数的数组 nums,判断 nums 中是否存在三个元素 a,b,c ,使得 a + b + c = 0 ?请你找出所有和为 0 且不重复的三元组。 输入:nums = [-1,0,1,2,-1,-4] 输出:[[-1,-1,2],[-1,0,1]] 2. ...
分类:
编程语言 时间:
2021-06-08 23:41:25
阅读次数:
0
报错 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused 解决方法: 参考: https://bbs.huaweicloud.com/blogs/143682 很多方法都没用,这个 ...
分类:
Web程序 时间:
2021-06-08 23:20:59
阅读次数:
0
前言 在window服务器上有些脚本没办法设置自动启动,但是每次开机都要手动启动,非常的麻烦。 设置 创建一个新的记事本 编写win脚本 C: CD C:\Users\Acer\Desktop\ #进入脚本的目录下 start test.bat #启动某个脚本 更改记事本的后缀名为.bat 打开文件 ...
1、添加mybatis依赖 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1.3.2</version> </ ...
分类:
编程语言 时间:
2021-06-08 22:31:11
阅读次数:
0
线程的状态图 新建(NEW):新创建了一个线程对象。 可运行(RUNNABLE):线程对象创建后,其他线程(比如main线程)调用了该对象的start()方法。该状态的线程位于可运行线程池中,等待被线程调度选中,获取cpu 的使用权 。 运行(RUNNING):可运行状态(runnable)的线程获 ...
分类:
编程语言 时间:
2021-06-07 21:10:52
阅读次数:
0
记录一次Linux开发环境的搭建,因为自己现在使用的系统是Win10,很多时候想使用Linux进行测试和部署程序,而且像很多的开发环境并不想直接安装在自己的系统上,所以使用了Vagrant加VirtualBox作为自己的开发环境。自己可以根据系统到下面地址下载适合自己系统的软件版本~ Virtual ...
@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.负margin技术: 当元素的margin-top和margin-left取负值时,“当前元素”会被拉向指定方向。 当元素的margin-bottom和margin-right取负值时,“后续元素”会被拉向指定方向。 自适应两列布局 <style> *{margin:0} .main,.side ...
分类:
其他好文 时间:
2021-06-07 20:00:34
阅读次数:
0
Ncurses(三)- 使用颜色 检查颜色可用 在使用颜色之前,你需要知道你的终端是否支持颜色显示,你可以通过以下if检测: if (has_colors() == FALSE) { endwin(); printf("Your terminal does not support color\n") ...
分类:
其他好文 时间:
2021-06-06 19:23:46
阅读次数:
0
启动 % brew services start php@5.6 ==> Successfully started `php@5.6` (label: homebrew.mxcl.php@5.6) jiqing@jiqingdeMacBook-Pro nginx % ps -ef | grep ph ...
分类:
Web程序 时间:
2021-06-06 19:15:28
阅读次数:
0