系统中 会遇到 一些文件名包含特殊字符或者中文名,无法正常删除 可以利用文件的inode号来删除 ls -i (可以看对文件对应的inode号) find . -inum inode号 -exec rm {} \; #删除,当然不只可以用来删除、mv等命令也行 ...
分类:
系统相关 时间:
2020-06-18 12:56:44
阅读次数:
71
显然可以直接凑左面全是左括号,右面全是右括号的情况. 然后区间翻转就用 splay 模拟好了. splay 的时候一定注意一点: 如果没有调用 find(x),就一定要手动把 x 及其祖先的节点 pushdown. code; #include <bits/stdc++.h> #define N 1 ...
分类:
其他好文 时间:
2020-06-18 10:54:30
阅读次数:
56
find_element()与find_elements()有什么区别? ...
分类:
其他好文 时间:
2020-06-18 01:44:34
阅读次数:
60
在安装mysql时,出现“The security settings could not be applied to the database because the connection has failed with the following error. Error Nr. 1045 Acc ...
分类:
移动开发 时间:
2020-06-17 15:33:57
阅读次数:
100
from selenium import webdriverimport timedriver = webdriver.Chrome()driver.get("https://www.12306.cn/index/")time.sleep(5)# 去掉元素的readonly属性js = 'docum ...
分类:
Web程序 时间:
2020-06-17 13:14:04
阅读次数:
89
# coding:utf-8# alert操作from selenium import webdriverimport timeurl = "file:///E:/Selenium/弹窗.html"driver = webdriver.Chrome()driver.get(url)time.slee ...
分类:
其他好文 时间:
2020-06-17 13:01:10
阅读次数:
50
h.find(x)返回key为x的二元组,返回指向该二元组的迭代器,不存在则返回h.end()。 查询字符串出现的次数 rep(i,1,n){ string str; cin>>str; h[str]++; } rep(i,1,m){ string str; //h[i]查找不存在时候,会新建立一个 ...
分类:
其他好文 时间:
2020-06-17 12:57:36
阅读次数:
50
# coding:utf-8from selenium import webdriverimport timedriver = webdriver.Chrome()driver.get(r"E:\Selenium\radio_checkbox.html")# 没点击操作前,判断选项框状态s = dr ...
分类:
其他好文 时间:
2020-06-17 12:49:45
阅读次数:
66
问题描述: jenkins安装在Linux服务器 Jenkins下执行pipeline脚本生成allure报告,报错: java.io.IOException: Can't find allure commandline <null>完整报错信息: java.io.IOException: Can' ...
分类:
系统相关 时间:
2020-06-17 12:47:14
阅读次数:
142
from selenium import webdriverimport timedriver = webdriver.Chrome()driver.get("file:///E:/Selenium/div滚动条.html")# time.sleep(5)# 纵向底部# js1 = 'documen ...
分类:
Web程序 时间:
2020-06-17 12:46:15
阅读次数:
63