1.打开F12,切换到console 2.xpath定位,输入:$x("your_xpath_str") 3.css定位,输入:$$("your_css_str") 4.id,document.getElementById("xx") 5.class,document.getElementByCla ...
分类:
其他好文 时间:
2021-06-02 14:23:20
阅读次数:
0
/*去掉input默认填充黄色背景*/ input:-webkit-autofill , textarea:-webkit-autofill, select:-webkit-autofill { -webkit-box-shadow: 0 0 0px 1000px transparent inset ...
分类:
其他好文 时间:
2021-06-02 14:21:55
阅读次数:
0
最近有一个需求,shell终端输入^X切换到另一个登陆界面。 如何判断输入的是^加上其他字母成为要解决的问题。 查了一堆资料,发现可以这样判断: #!/bin/sh echo Please input ^X: read a echo $a if [ $a = $'\030' ];then echo ...
分类:
系统相关 时间:
2021-06-02 14:05:04
阅读次数:
0
卸载cudnn sudo rm -rf /usr/local/cuda/include/cudnn.h sudo rm -rf /usr/local/cuda/lib64/libcudnn* 卸载cuda 第一步 sudo /usr/local/cuda-10.1/bin/cuda-uninstal ...
分类:
系统相关 时间:
2021-06-02 13:55:10
阅读次数:
0
win + r 打开运行,输入%appdata% 删除npm和npm-cache文件夹 执行npm cache clean --force命令 此时应该就可以了,如果还不行,就执行卸载Node.js重新安装。 如果还是不行!! 换yarn 安装yarn npm install -g yarn yar ...
分类:
移动开发 时间:
2021-06-02 13:47:57
阅读次数:
0
Start Name Server > nohup sh bin/mqnamesrv & > tail -f ~/logs/rocketmqlogs/namesrv.log The Name Server boot success... 1、先启动NameServer: 在bin下执行: nohup ...
分类:
其他好文 时间:
2021-06-02 13:47:34
阅读次数:
0
用于记录一些个人开发过程中遇到的或者查询的CSS问题,做一个汇总记录。 ...
分类:
Web程序 时间:
2021-06-02 13:45:15
阅读次数:
0
1. 扩展维度 要将一个二维的数据扩展为三维: 1 print("扩展之前:", img_Y_blur.shape) 2 img_Y_blur = np.expand_dims(img_Y_blur, 2) 3 print("扩展之后:", img_Y_blur.shape) 运行结果: 扩展之前: ...
分类:
编程语言 时间:
2021-06-02 13:39:07
阅读次数:
0
更多 react-router提供了三种方式来实现路由,并没有默认的路由,需要在声明路由的时候,显式指定所使用的路由。 //v1.x <Router/> //v2.0.0 // hash history import { hashHistory } from 'react-router' <Rout ...
分类:
其他好文 时间:
2021-06-02 13:31:44
阅读次数:
0
#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a[i] ...
分类:
其他好文 时间:
2021-06-02 13:29:18
阅读次数:
0