获取连接 一个站点的页面是很多的,一开始不可能全部列举出来,于是如何发现后续的链接,是一个爬虫不可缺少的一部分 获取链接(例子): page.addTargetRequests(page.getHtml().css("div#news_div").links().regix(".*9$").all( ...
分类:
Web程序 时间:
2020-06-16 18:22:01
阅读次数:
71
1.切换到root用户下,怎么切换就不用说了吧,不会的自己百度去.2.添加sudo文件的写权限,命令是:chmod u+w /etc/sudoers3.编辑sudoers文件vi /etc/sudoers找到这行 root ALL=(ALL) ALL,在他下面添加xxx ALL=(ALL) ALL ...
分类:
其他好文 时间:
2020-06-16 18:17:50
阅读次数:
122
1.创建文件夹components 在该文件夹目录下定义组件 2.json文件中定义 3.使用页面中的json 定义 4.页面中使用 ...
分类:
微信 时间:
2020-06-16 16:54:04
阅读次数:
113
1.查看某张表下的触发器信息select * from all_triggers where table_name = 'DD_OILCAN_IO_POT_NO_NEW';2.查看某自增序列的信息SELECT * FROM USER_SEQUENCES WHERE SEQUENCE_NAME= 'D ...
分类:
数据库 时间:
2020-06-16 15:28:38
阅读次数:
81
效果图 直接上代码 # 独立选择每一行(在当前选中范围内) class SelectEverySingleLine(sublime_plugin.TextCommand): def run(self, edit): # self.view.run_command('select_all') # fo ...
分类:
其他好文 时间:
2020-06-16 15:13:48
阅读次数:
321
一、目录及配置文件: cd /etc/netplan vim 01-network-manager-all.yaml 二、静态ip配置方式: 01-network-manager-all.yaml.static # Let NetworkManager manage all devices on t ...
分类:
系统相关 时间:
2020-06-16 13:32:16
阅读次数:
165
下载mysql绿色版 放在如下文件夹 D:\javaSkill\mysql 修改my.ini文件内容: [mysql] default-character-set=utf8 [mysqld] basedir="D:\javaSkill\mysql\MySQL Server 5.1绿色版\MySQL ...
分类:
数据库 时间:
2020-06-16 13:08:53
阅读次数:
55
Given a tree, you are supposed to list all the leaves in the order of top down, and left to right. Input Specification: Each input file contains one t ...
分类:
编程语言 时间:
2020-06-16 12:46:45
阅读次数:
64
Repeated DNA Sequences (M) 题目 All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying D ...
分类:
其他好文 时间:
2020-06-16 10:26:45
阅读次数:
64
第一步 安装jupyter-themes 首先在Anaconda Prompt控制台下用 pip 安装 jupyter-themes pip install jupyter-themes 第二步 查看可用主题 jt -l 第三步 切换到自己想切换的主题,比如 onedork jt -l onedor ...
分类:
其他好文 时间:
2020-06-16 01:22:10
阅读次数:
78