上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 38 下一页
摘要: 案例 import os from hashlib import md5 from selenium import webdriver import requests from lxml import etree # 首页请求 def get_response(url): headers = {"u 阅读全文
posted @ 2021-01-27 16:26 Bonnie_ξ 阅读(94) 评论(0) 推荐(0) 编辑
摘要: tags: #正则表达式 #HTML提取 匹配任意字符不能跨行:.* 匹配任意字符包括换行符等:[\s\S]* 捕获某前缀与某后缀之间的任意字符:(.*?) 使用情况举例,捕获下面HTML中的文字“不迟any” HTML:<a href='http://www.cnblogs.com/buchian 阅读全文
posted @ 2021-01-27 16:21 Bonnie_ξ 阅读(313) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/IqvY2c0PB5MGr55-B7rW4Q 阅读全文
posted @ 2021-01-24 21:03 Bonnie_ξ 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 查看hbase表大小。 进入 hbase 所在服务器 hbase shell 进入 hbase 库 list_namespace 列出所有命名空间 describe_namspace 'hbase' 查看指定命名空间 list_namespace_table 'default' 查看指定命名空间下的 阅读全文
posted @ 2021-01-22 09:24 Bonnie_ξ 阅读(5192) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/BRgsKmvrZWeqrb-E0hlr4A 阅读全文
posted @ 2021-01-19 15:42 Bonnie_ξ 阅读(60) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/O2PubmG_q8gxxl8LKQ3fjg 创建SpringBoot项目 然后创建Controller、Mapper、Service包 SpringBoot整合Redis 引入Redis依赖 <!--SpringBoot与Redis整合依赖-- 阅读全文
posted @ 2021-01-19 15:05 Bonnie_ξ 阅读(120) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/vdeeypw5juuveY_NEtS1tA 与前端对接的API接口,如果被第三方抓包并进行恶意篡改参数,可能会导致数据泄露,甚至会被篡改数据,我主要围绕时间戳,token,签名三个部分来保证API接口的安全性 1.用户成功登陆站点后,服务器会返 阅读全文
posted @ 2021-01-18 14:09 Bonnie_ξ 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 什么是正则表达式? 正则表达式(Regular Expression)通常被用来检索、替换那些符合某个模式(规则)的文本。 此处的Regular即是规则、规律的意思,Regular Expression即“描述某种规则的表达式”之意。 本文收集了一些常见的正则表达式用法,方便大家查询取用,并在最后附 阅读全文
posted @ 2021-01-18 11:58 Bonnie_ξ 阅读(332) 评论(0) 推荐(1) 编辑
摘要: https://mp.weixin.qq.com/s/n2-Ottx6Pqu9gR_JfUVkvA https://mp.weixin.qq.com/s/wqZnbzBL9aVNn42K9XUoSA https://www.cnblogs.com/psyche61/p/10737530.html h 阅读全文
posted @ 2021-01-18 10:45 Bonnie_ξ 阅读(245) 评论(0) 推荐(0) 编辑
摘要: java8自带常用的函数式接口 Predicate<T> boolean test(T t) 传入一个参数返回boolean值 Consumer<T> void accept(T t) 传入一个参数,无返回值 Function<T,R> R apply(T t) 传入一个参数,返回另一个类型 准备数 阅读全文
posted @ 2021-01-18 08:54 Bonnie_ξ 阅读(134) 评论(0) 推荐(0) 编辑
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 38 下一页