恢复内容开始 首先我使用apt安装gradle,并从源码构建. apt-get install gradle gradle 异常: * What went wrong: A problem occurred evaluating script. > Could not find property ' ...
分类:
其他好文 时间:
2020-07-08 14:56:44
阅读次数:
100
1.创建脚本目录及文件 mkdir /home/test cd /home/test 2.创建脚本文件 touch testDel.sh 3.配置脚本,定义find函数,删除目录/apps/log/下所有类型文件 find /apps/log/* -type f -mtime +30 -exec r ...
分类:
系统相关 时间:
2020-07-08 13:19:39
阅读次数:
71
Find Peak Element A peak element is an element that is greater than its neighbors. Given an input array nums, where nums[i] ≠ nums[i+1], find a peak e ...
分类:
其他好文 时间:
2020-07-08 13:03:15
阅读次数:
33
Jmeter和Java安装完成后(Jmeter印象中没有安装过程,解压就行),启动Jmeter启动报错-Not able to find Java executable or version. Please check your Java installation,以下解决方法: 我的电脑-属性-高 ...
分类:
编程语言 时间:
2020-07-08 12:59:33
阅读次数:
72
最近在学习Linux,用习惯Windows入门linux还是有很多不习惯,特别是用命令来操作, 以下整理了一些常用的命令分享和巩固。 常用命令: pwd 显示用户当前所在的工作目录位置 cd /opt 进入/opt目录 cd .. 回到上一层目录 cd~ 回到当前家目录 cd- 回到上一次目录 ls ...
分类:
系统相关 时间:
2020-07-08 01:44:04
阅读次数:
81
package LeetCode_162 /** * 162. Find Peak Element * https://leetcode.com/problems/find-peak-element/description/ * * A peak element is an element that ...
分类:
其他好文 时间:
2020-07-07 23:20:32
阅读次数:
54
1、查找/etc目录下大于1M且类型为普通文件的所有文件[root@centos7~]#find/etc-typef-size+1M2、打包/etc/目录下面所有conf结尾的文件,压缩包名称为当天的时间,并拷贝到/usr/local/src目录备份[root@centos7~]#tar-cvf/usr/local/src/`date"+%T"`.tar/etc/*.conf3、利用sed取出if
分类:
其他好文 时间:
2020-07-07 14:57:32
阅读次数:
48
出现这个报错通常是因为使用了AopContext.currentProxy()函数却没有添加相应的配置造成的。 通过注解添加配置(加在类上): @EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true) 或通过xml配置文 ...
分类:
其他好文 时间:
2020-07-07 10:21:40
阅读次数:
203
1、查找/etc目录下大于1M且类型为普通文件的所有文件[root@centos7~]#find/etc-typef-size+1M2、打包/etc/目录下面所有conf结尾的文件,压缩包名称为当天的时间,并拷贝到/usr/local/src目录备份[root@centos7~]#tar-cvf/usr/local/src/`date"+%T"`.tar/etc/*.conf3、利用sed取出if
分类:
其他好文 时间:
2020-07-07 10:01:45
阅读次数:
58
首先总结坑: 1、关于浏览器分辨率有关的截图 2、关于浏览器位置点击(分辨率) 3、注意当前时间的 请求 URL 的cookie 值!! 思路: 1、首先分析12306 登录界面 2、将页面截取为图片 3、取得图片的位置 通过 先打开图片Image.open(), crop(左,上,右,下)-->用 ...
分类:
其他好文 时间:
2020-07-07 00:34:32
阅读次数:
102