会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
code -ss
新随笔
联系
管理
上一页
1
2
3
4
5
6
7
···
14
下一页
2021年4月8日
【python】selenium获取http请求头信息
摘要: # 以获取API商城 - IP查询服务的timestamp签名为例# 是seleniumwire 不是 selenium import time from seleniumwire import webdriver driver = webdriver.Chrome() driver.get('ht
阅读全文
posted @ 2021-04-08 22:18 一支小白
阅读(8039)
评论(0)
推荐(0)
2020年12月6日
从语料中自动挖掘短语
摘要: 从语料中自动挖掘短语 https://github.com/shangjingbo1226/AutoPhrase 预测搜索短语可采用FST结构, https://blog.csdn.net/vivian_ll/article/details/95049652 https://www.youtube.
阅读全文
posted @ 2020-12-06 11:40 一支小白
阅读(285)
评论(0)
推荐(0)
2020年12月5日
pyspark数据处理分析
摘要: 相比于pandas,pyspark的dataframe的接口和sql类似,比较容易上手。 搭建python3环境 建议使用miniconda3 下载地址:https://mirrors.bfsu.edu.cn/anaconda/miniconda/ 选择py37版本 conda镜像配置:https:
阅读全文
posted @ 2020-12-05 22:16 一支小白
阅读(1110)
评论(0)
推荐(0)
Hdp sandbox
摘要: 下载地址 https://archive.cloudera.com/hwx-sandbox/hdp/hdp-3.0.1/HDP_3.0.1_vmware_181205.ovavmware导入即可,网络使用桥接,不然可能无法打开。 文档 https://www.cloudera.com/tutoria
阅读全文
posted @ 2020-12-05 21:29 一支小白
阅读(482)
评论(0)
推荐(0)
2020年9月19日
pyspark提交集群任务
摘要: 1.打包python环境 建议使用conda conda克隆环境 conda create -n prod_env --clone base 进入conda的miniconda3/envs # 打包python环境 zip -r prod_env.zip prod_env 2.提交任务 sh脚本 e
阅读全文
posted @ 2020-09-19 21:36 一支小白
阅读(2558)
评论(0)
推荐(0)
无法打开hadoop的UI页面
摘要: 假如没有配置name和data的路径。会默认放到.tmp下重启就会消失。 hdfs-site.xml <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
阅读全文
posted @ 2020-09-19 18:00 一支小白
阅读(787)
评论(0)
推荐(0)
2020年9月18日
python gevent pool 异步请求使用
摘要: import time from gevent import monkey import gevent from gevent.pool import Pool monkey.patch_all() # 保证放在上面 import requests def f(_url: str): print('
阅读全文
posted @ 2020-09-18 21:46 一支小白
阅读(1706)
评论(2)
推荐(0)
python requests 请求https加固的ES
摘要: https ca + key + password session = requests.Session() session.mount('https://', SSLAdapter(certfile, keyfile, password)) session.get(url) http auth认证
阅读全文
posted @ 2020-09-18 21:41 一支小白
阅读(666)
评论(0)
推荐(0)
2020年8月9日
vmware centos7 静态ip网卡配置
摘要: cd /etc/sysconfig/network-scripts/TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=static DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV
阅读全文
posted @ 2020-08-09 17:38 一支小白
阅读(262)
评论(0)
推荐(0)
2020年7月17日
es6语法
摘要: https://www.runoob.com/w3cnote/es6-map-set.html
阅读全文
posted @ 2020-07-17 20:56 一支小白
阅读(125)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
14
下一页
公告