cnblogs.com/fellow1988/p/6212676.html 看了个大概 Platform是一种虚拟总线,Platform机制将设备本身的资源注册进内核,有内核统一管理,在驱动程序使用这些资源时使用统一的接口,这样提高了程序的可移植性。 Linux的大部分设备驱动都可以使用platfo ...
分类:
其他好文 时间:
2020-06-30 11:22:05
阅读次数:
64
遇到的问题: 1. SPARK & HADOOP 不能安装在有空格的目录下 比如 programs file这种 2. 需要设置环境变量 PYSPARK_PYTHON PYSPARK_DRIVER_PYTHON 到3.6.5的环境,不然3.6 3.7会撞车 ...
分类:
其他好文 时间:
2020-06-29 21:28:22
阅读次数:
66
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver import ActionChains import time driver=webdrive ...
分类:
其他好文 时间:
2020-06-29 17:01:23
阅读次数:
79
# 该方法用来确认元素是否存在,如果存在返回flag=true,否则返回false def isElementExist(self,element): flag=True try: driver.find_element_by_css_selector(element) return flag ex ...
分类:
其他好文 时间:
2020-06-29 11:57:42
阅读次数:
141
在jsp中获取数据库数据 <% Class.forName("com.mysql.jdbc.Driver");//加载mysql驱动 Connection conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/test1", "r ...
分类:
数据库 时间:
2020-06-29 09:37:42
阅读次数:
71
搭建php-fpm apache nginx 环境 docker-compose.yml文件 networks: net: driver: bridge ipam: config: - subnet: 192.138.0.0/16 services: apache: container_name: ...
分类:
其他好文 时间:
2020-06-28 18:24:12
阅读次数:
69
1、docker-compose 搭建Apache-php 新建docker-compose.yml文件 version: "3.8" networks: net: driver: bridge ipam: config: - subnet: 192.158.0.0/16 services: fpm ...
分类:
其他好文 时间:
2020-06-28 15:20:32
阅读次数:
46
当我们使用nvidia-smi 查看 GPU 状态时,显示GPU使用率100% 那么该如何解决呢? 分析后,可能的原因是加载 NVIDIA 驱动时,ECC Memory Scrubbing 机制造成的。 解决办法: 执行 nvidia-smi -pm 1 命令,让 GPU Driver 进入 Per ...
分类:
其他好文 时间:
2020-06-28 15:16:56
阅读次数:
711
1.在浏览器地址里面输入:chrome://version/,查看你本地浏览器的版本 2.下载对应驱动版本:http://chromedriver.storage.googleapis.com/index.html? 3.将chromedriver.exe复制到C:\Program Files (x ...
分类:
其他好文 时间:
2020-06-28 15:10:12
阅读次数:
148
通过DriverManager获取数据库连接 修改一下配置文件 driver=com.mysql.cj.jdbc.Driver jdbcUrl=jdbc:mysql://localhost:3306/testjdbc?serverTimezone=GMT%2B8 user=root password ...
分类:
数据库 时间:
2020-06-27 20:11:05
阅读次数:
74