当前位置:网站首页>Web knowledge supplement
Web knowledge supplement
2022-07-04 13:42:00 【Hua Weiyun】
Get New knowledge :
windows The host machine Map folder to VMware Linux virtual machine
First, when the virtual machine is shut down , Edit virtual machine settings , Under option configuration , Enable shared folders , Select the host folder path , determine .
Enter virtual machine , Use
// yum -y install open-vm-tools-desktop open-vm-tools
mkdir /app ;vmhgfs-fuse .host:/ /app
command Mount the contents under the shared folder to the virtual machine path , among /app Is the customized folder path under the virtual machine , After successful execution, the contents in the shared folder exist under the corresponding folder of the virtual machine .
Use selenium Avoid being identified by the website as an automated test tool driven approach
- Set up window.navigator.webdriver
Through the following code to achieve
driver.execute_cdp_cmd("Page.addScriptToEvaluateOnNewDocument", { "source": """ Object.defineProperty(navigator, 'webdriver', { get: () => undefined }) """})
- modify chromedriver.exe
stay Windows Next , Use notepad++ There may be garbled code when opening , Unable to perform the following operation to replace the string , It is suggested that Linux Operation down , Although in Linux There will also be garbled code in the next operation , But the string we need to replace is in Linux It's normal to open it under , Use vim edit chromedriver.exe, Use vim Replace the command
:%s/cdc_/dog_/g
then :wq Save to exit , Complete the modification .
Windows Use the longest path under
By default Windows Be able to use 260 Path length of bit length , But in fact Windows Maximum support for paths up to tens of thousands of bits , It needs to be preceded by \?\ Is to tell the system to use the path definition with the maximum length .
Special for sharing price folder , Use \?\UNC\ that will do .
边栏推荐
- 面试官:Redis 过期删除策略和内存淘汰策略有什么区别?
- 高质量软件架构的唯一核心指标
- CommVault cooperates with Oracle to provide metallic data management as a service on Oracle cloud
- 使用 NSProxy 实现消息转发
- 比量子化学方法快六个数量级,一种基于绝热状态的绝热人工神经网络方法,可加速对偶氮苯衍生物及此类分子的模拟
- "Pre training weekly" issue 52: shielding visual pre training and goal-oriented dialogue
- 室外LED屏幕防水吗?
- Reinforcement learning - learning notes 1 | basic concepts
- ASP.NET Core入门一
- Runc hang causes the kubernetes node notready
猜你喜欢
Master the use of auto analyze in data warehouse
PostgreSQL 9.1 飞升之路
n++也不靠谱
从0到1建设智能灰度数据体系:以vivo游戏中心为例
6 分钟看完 BGP 协议。
Is the outdoor LED screen waterproof?
Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing
CANN算子:利用迭代器高效实现Tensor数据切割分块处理
2022KDD预讲 | 11位一作学者带你提前解锁优秀论文
PostgreSQL 9.1 soaring Road
随机推荐
Dgraph: large scale dynamic graph dataset
Zhongang Mining: in order to ensure sufficient supply of fluorite, it is imperative to open source and save flow
干货整理!ERP在制造业的发展趋势如何,看这一篇就够了
Configure WebDAV server on Apache
Personalized online cloud database hybrid optimization system | SIGMOD 2022 selected papers interpretation
Simple understanding of binary search
Using scrcpy projection
阿里云有奖体验:用PolarDB-X搭建一个高可用系统
CA:用于移动端的高效坐标注意力机制 | CVPR 2021
使用宝塔部署halo博客
Rsyslog configuration and use tutorial
Web知识补充
Read the BGP agreement in 6 minutes.
CA: efficient coordinate attention mechanism for mobile terminals | CVPR 2021
eclipse链接数据库中测试SQL语句删除出现SQL语句语法错误
Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing
C语言职工管理系统
《预训练周刊》第52期:屏蔽视觉预训练、目标导向对话
C#基础深入学习一
When MDK uses precompiler in header file, ifdef is invalid