.find_all(name,attrs,recursive,string,**kwargs) name:对标签名称的检索字符串attrs:对标签属性值的检索字符串,可标注属性检索recursive:是否对子孙全部检索,默认为Truestring <>....</>中字符串区域的检索字符串 soup ...
分类:
编程语言 时间:
2020-02-08 00:32:44
阅读次数:
66
背景 之前有介绍过写保护,这里就不赘述了,可参考:https://www.cnblogs.com/zqb all/p/12182920.html 但没有谈到开销,今天有同事问起,便记录一下 性能 不考虑写保护的nor性能评估及实测,可参考:https://www.cnblogs.com/gmpy/p ...
分类:
其他好文 时间:
2020-02-08 00:13:58
阅读次数:
69
.find_all(name,attrs,recursive,string,**kwargs) name:对标签名称的检索字符串attrs:对标签属性值的检索字符串,可标注属性检索recursive:是否对子孙全部检索,默认为Truestring <>....</>中字符串区域的检索字符串 soup ...
分类:
编程语言 时间:
2020-02-07 22:43:47
阅读次数:
93
1 """ 2 Given a sorted linked list, delete all duplicates such that each element appear only once. 3 Example 1: 4 Input: 1->1->2 5 Output: 1->2 6 Exam ...
分类:
其他好文 时间:
2020-02-07 19:14:50
阅读次数:
70
Given a string S of lowercase letters, a duplicate removal consists of choosing two adjacent and equal letters, and removing them. We repeatedly make ...
分类:
其他好文 时间:
2020-02-07 10:42:50
阅读次数:
74
Given the root node of a binary search tree, return the sum of values of all nodes with value between L and R (inclusive). The binary search tree is g ...
分类:
其他好文 时间:
2020-02-07 10:19:29
阅读次数:
70
1.hadoop集群的启动 cd $HADOOP_HOME //进入hadoop安装目录 sbin/start-dfs.sh //启动hdfs sbin/start-yarn.sh //启动yarn (或start-all.sh) 集群关闭: cd $HADOOP_HOME //进入hadoop安装 ...
分类:
系统相关 时间:
2020-02-07 00:58:00
阅读次数:
114
创建用户 #创建ubuntu用户 adduser ubuntu 添加sudo权限 #放开写/etc/sudoers文件的权限 chmod u+w /etc/sudoers #编辑 vim /etc/sudoers ##在root ALL=(ALL) ALL下增加xxx ALL=(ALL) ALL # ...
分类:
系统相关 时间:
2020-02-06 23:32:25
阅读次数:
186
1 """ 2 Given a collection of intervals, merge all overlapping intervals. 3 Example 1: 4 Input: [[1,3],[2,6],[8,10],[15,18]] 5 Output: [[1,6],[8,10],[ ...
分类:
其他好文 时间:
2020-02-06 22:59:28
阅读次数:
72
1.load sdk shell ./auto_load_user.sh 2.查看all端口状态 IVM:0>ifcs show devport 3.查看个别端口状态 IVM:0>ifcs show devport 6 4.enable/disable 端口 IVM:0>port enable 1- ...
分类:
其他好文 时间:
2020-02-06 20:07:51
阅读次数:
72