#coding=utf-8 from selenium import webdriver import time def sleep(w=1): time.sleep(w) return 0 #初始化浏览器信息 driver = webdriver.Chrome() driver.get("http ...
分类:
其他好文 时间:
2020-06-09 20:37:19
阅读次数:
624
1 GPIO驱动的理解,可以用文件写入的理解考虑 echo 0> /dev/gpio-ERR 可以实现用写入流的操作写入内核驱动传递信息 2. gpio_driver.ko 文件的基本操作包括初始化和操作IO,标准化为ioctrl的内核类型来实现 在insmod加载后,就会在dev/里面生成对应的可 ...
分类:
系统相关 时间:
2020-06-09 18:44:40
阅读次数:
92
刚开始接触electron ,踩到了electron-prebuilt的坑,简单记录下。 1、直接安装 npm install sqlite3 electron . 报错:'cannot find node module sqlite3' 2、重新编译sqlite3 2.1 npm install ...
分类:
数据库 时间:
2020-06-09 18:15:26
阅读次数:
120
报错模型未注册。 示例 const Goods = require('../../model/admin/Goods');//先引入你需要的关联模型 const res = await ctx.mongoose.find().populate({ path: 'Goods ', model: Goo ...
分类:
其他好文 时间:
2020-06-09 18:13:48
阅读次数:
65
异常信息:javax.validation.UnexpectedTypeException: HV000030: No validator could be found for constraint 'javax.validation.constraints.NotBlank' validating ...
分类:
编程语言 时间:
2020-06-09 16:32:01
阅读次数:
89
public class Item { public static void main(String args[]) { int array[] = {1, 6, 10, -4,8,3, -5}; System.out.println(findMax(array)); } public static ...
分类:
编程语言 时间:
2020-06-09 14:18:26
阅读次数:
134
package com.example.datebasetest; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLite ...
分类:
移动开发 时间:
2020-06-09 11:19:58
阅读次数:
71
今天在使用find命令查找文件时报错: 查找命令:find /var/www/html/typecho/admin/ -name *.php -type f -print | xargs file 报错如下: find: paths must precede expression: category ...
分类:
其他好文 时间:
2020-06-09 09:59:16
阅读次数:
251
题目描述 输入两个链表,找出它们的第一个公共结点。(注意因为传入数据是链表,所以错误测试数据的提示是用其他方式显示的,保证传入数据是正确的) 题目链接: https://www.nowcoder.com/practice/6ab1d9a29e88450685099d45c9e31e46?tpId=1 ...
分类:
其他好文 时间:
2020-06-09 09:48:46
阅读次数:
62
python 环境:Python 2.7.16 需要安装:pandas/xlrd (pip2 install pandas/ pip2 install xlrd) import pandas as pd def find_row(num_value,file_name): """ Returns t ...
分类:
编程语言 时间:
2020-06-09 09:46:02
阅读次数:
403