当前位置:网站首页>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 .
边栏推荐
- XML入门一
- Rsyslog configuration and use tutorial
- Oracle 被 Ventana Research 评为数字创新奖总冠军
- Comprehensive evaluation of modular note taking software: craft, notation, flowus
- MDK在头文件中使用预编译器时,#ifdef 无效的问题
- PostgreSQL 9.1 飞升之路
- Three schemes to improve the efficiency of MySQL deep paging query
- 7 月数据库排行榜:MongoDB 和 Oracle 分数下降最多
- 阿里云有奖体验:用PolarDB-X搭建一个高可用系统
- 使用宝塔部署halo博客
猜你喜欢
一个数据人对领域模型理解与深入
Valentine's Day confession code
Samsung's mass production of 3nm products has attracted the attention of Taiwan media: whether it can improve the input-output rate in the short term is the key to compete with TSMC
面向个性化需求的在线云数据库混合调优系统 | SIGMOD 2022入选论文解读
Commvault 和 Oracle 合作,在 Oracle 云上提供 Metallic数据管理即服务
比量子化学方法快六个数量级,一种基于绝热状态的绝热人工神经网络方法,可加速对偶氮苯衍生物及此类分子的模拟
C#/VB. Net to add text / image watermarks to PDF documents
室外LED屏幕防水吗?
【AI系统前沿动态第40期】Hinton:我的深度学习生涯与研究心法;Google辟谣放弃TensorFlow;封神框架正式开源
CVPR 2022 | TransFusion:用Transformer进行3D目标检测的激光雷达-相机融合
随机推荐
AI painting minimalist tutorial
C#基础补充
Two dimensional code coding theory
CANN算子:利用迭代器高效实现Tensor数据切割分块处理
2022KDD预讲 | 11位一作学者带你提前解锁优秀论文
XML入门三
CA: efficient coordinate attention mechanism for mobile terminals | CVPR 2021
CVPR 2022 | TransFusion:用Transformer进行3D目标检测的激光雷达-相机融合
In 2022, it will be es2022 soon. Do you only know the new features of ES6?
阿里云有奖体验:用PolarDB-X搭建一个高可用系统
Read the BGP agreement in 6 minutes.
Three schemes to improve the efficiency of MySQL deep paging query
go-zero微服务实战系列(九、极致优化秒杀性能)
CTF竞赛题解之stm32逆向入门
「小技巧」给Seurat对象瘦瘦身
7 月数据库排行榜:MongoDB 和 Oracle 分数下降最多
Dry goods sorting! How about the development trend of ERP in the manufacturing industry? It's enough to read this article
Comparative study of the gods in the twilight Era
上汽大通MAXUS正式发布全新品牌“MIFA”,旗舰产品MIFA 9正式亮相!
XML入门二