selenium定位type属性 driver.find_element_by_css_selector('input[type="password"]').send_keys('Password') from selenium import webdriver #用来驱动浏览器的 from sel ...
分类:
其他好文 时间:
2020-06-25 14:13:22
阅读次数:
99
无论你安装过多少次mysql,仍然会出现各种各样的错误,既然出现了,就想办法解决它:OK! 接下来教大家怎样查看错误日志,去解决懵逼的代码错误。 错误: 经过一些列的 重启操作、查看错误详情,并不能精准找到错误原因,经过一番百度,发现有说磁盘空间不足的、有说需要删除var/lib/mysql的 无论 ...
分类:
数据库 时间:
2020-06-25 14:04:10
阅读次数:
329
Given an array of integers, find out whether there are two distinct indices i and j in the array such that the absolute difference between nums[i] and ...
分类:
其他好文 时间:
2020-06-25 12:23:09
阅读次数:
74
SSL的由来 SSL(Secure Socket Layer 安全套接层)是TCP/IP协议中基于HTTP之下TCP之上的一个可选协议层。 起初HTTP在传输数据时使用的是明文,是不安全的。为了解决这个隐患,网景(Netscap)公司推出了SSL。而越来越多的人也开始使用HTTPS(HTTP+SSL ...
分类:
其他好文 时间:
2020-06-25 12:18:14
阅读次数:
115
在服务器上安装xxx软件时报错,提示如下: Installation failed with error code: (0x80070643), "Fatal error during installation...". Solution: 1. 将当前登录帐号登录到Local Administra ...
分类:
其他好文 时间:
2020-06-25 09:23:11
阅读次数:
125
Find the Duplicate Number (M) 题目 Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), prove that at least ...
分类:
其他好文 时间:
2020-06-25 09:20:33
阅读次数:
64
You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for nums1' ...
分类:
其他好文 时间:
2020-06-24 23:43:31
阅读次数:
50
图的概述 什么是图 如图就是一张图,其实之前介绍的树、链表都可以看做一个简单的图。 图描述的是一种多对多的关系,由**顶点(vertex)和连接顶点间的边(edge)**组成。每个顶点可以有零个或多个前驱、也可以有零个或多个后继。 注:图可以没有边,但至少有一个顶点。 因此图可以表示成G=(V,E) ...
分类:
其他好文 时间:
2020-06-24 23:40:49
阅读次数:
56
Vasya works as a DJ in the best Berland nightclub, and he often uses dubstep music in his performance. Recently, he has decided to take a couple of ol ...
分类:
其他好文 时间:
2020-06-24 23:15:59
阅读次数:
50
题目 魔术索引。 在数组A[0...n-1]中,有所谓的魔术索引,满足条件A[i] = i。给定一个有序整数数组,编写一种方法找出魔术索引,若有的话,在数组A中找出一个魔术索引,如果没有,则返回-1。若有多个魔术索引,返回索引值最小的一个。 示例1: 输入:nums = [0, 2, 3, 4, 5 ...
分类:
其他好文 时间:
2020-06-24 20:06:15
阅读次数:
60