查找当前目录及子目录下以.log结尾的文件路径find . -name "*.log"https://www.jianshu.com/p/ea8cc2248022 ...
分类:
系统相关 时间:
2020-04-16 15:39:14
阅读次数:
88
1、查看kubectl命令帮助kubectl –h 1 kubectl controls the Kubernetes cluster manager. 2 Find more information at: https://kubernetes.io/docs/reference/kubectl/... ...
分类:
Web程序 时间:
2020-04-16 15:15:14
阅读次数:
83
Given a 2D board and a list of words from the dictionary, find all words in the board. Each word must be constructed from letters of sequentially adja ...
分类:
其他好文 时间:
2020-04-16 10:31:28
阅读次数:
82
一:解题思路 采用二分搜索的思想来做。 Time:O(log(n)),Space:O(1) 二:完整代码示例 (C++版和Java版) C++: class Solution { public: int findPeakElement(vector<int>& nums) { if (nums.si ...
分类:
编程语言 时间:
2020-04-15 21:14:01
阅读次数:
80
题目 Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. 给定一个字符串 s,找到 s 中最长的回文子串。你可以假设 s ...
分类:
其他好文 时间:
2020-04-15 18:30:58
阅读次数:
59
30 # on RHEL pci.ids is locate on /usr/share/hwdata/pci.ids. 31 sudo find . -xdev \ 32 -path './sys/*' -prune -o \ 33 -path './tmp/*' -prune -o \ 34 - ...
分类:
其他好文 时间:
2020-04-15 18:15:18
阅读次数:
81
You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for nums1' ...
分类:
其他好文 时间:
2020-04-15 15:17:52
阅读次数:
68
一.下拉框 相信大家在手动测试web页面时,遇到过下拉框吧,那进行web自动化测试时,如何操作下拉框,且看下文 1.selenium中提供了方法,先导入Select方法 from selenium.webdriver.support.select import Select 2.实例化类 Selec ...
分类:
Web程序 时间:
2020-04-15 13:59:13
阅读次数:
122
键盘操作需要使用send_keys()进行输入 driver.find_element_by_id(元素id).send_keys(输入的内容,Keys.ENTER)如下: send_keys(Keys.ENTER) Enter键 send_keys(Keys.CANCEL,'a') CANCEL+ ...
分类:
Web程序 时间:
2020-04-15 11:17:06
阅读次数:
96
常用命令150:1,echo打印,-e处理转义字符如\n换行(\ttab键)echo-e"han\nwei\nkang">3.txt-n不换行输出2,netstat-lntup查看监听端口状态3,xargs从标准输入读入创建执行命令。-n1接数字分组4,man接命令查看所有参数帮助5,find查找-type文件类型f(file)d(directory)c(characte
分类:
其他好文 时间:
2020-04-15 11:00:55
阅读次数:
62