会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ray_lei
其形也,翩若惊鸿,婉若游龙。荣曜秋菊,华茂春松。。
博客园
首页
新随笔
联系
订阅
管理
2019年4月10日
Spark sbt configure and examples
摘要: 使用sbt 0.13.5 wget http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.5/sbt-launch.jar 新建sbt脚本在/usr/local/sbt/ 下 并加入执行权限。 #!/
阅读全文
posted @ 2019-04-10 12:30 Ray_lei
阅读(294)
评论(0)
推荐(0)
2019年4月9日
vimrc 配置
摘要: git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim 将想要安装的插件,按照地址填写方法,将地址填写在vundle#begin和vundle#end之间就可以 保存之后,有两种方法安装插件。 (1
阅读全文
posted @ 2019-04-09 09:12 Ray_lei
阅读(227)
评论(0)
推荐(0)
2019年3月26日
github 使用 记录
摘要: echo "# pull-test">> README.mdgit initgit add README.mdgit add *git commit -m "first pull some file"git config --global user.name "lyc10031"git config
阅读全文
posted @ 2019-03-26 09:37 Ray_lei
阅读(191)
评论(0)
推荐(0)
2019年2月27日
Python 环境安装
摘要: 安装依赖: debian 系统 build-essential yum groupinstall 'Development Tools' yum install -y ncurses-libs zlib-devel mysql-devel bzip2-devel openssl-devel ncur
阅读全文
posted @ 2019-02-27 09:29 Ray_lei
阅读(881)
评论(0)
推荐(0)
2019年1月10日
python 使用中遇到的问题,记录及解决方法
摘要: 1、读取configparser 配置文件报错 : 提示: ConfigParser.MissingSectionHeaderError when parsing rsyncd config file with global options 解决方法: https://stackoverflow.c
阅读全文
posted @ 2019-01-10 18:28 Ray_lei
阅读(359)
评论(0)
推荐(0)
2018年12月7日
shell
摘要: shell 判断 命令执行情况 https://blog.csdn.net/Maybe_Lee/article/details/78604927 脚本例子: 1、 删除垃圾文件 使用方法: 可以在/etc/rc.local 中添加命令: sh /root/cpu_test/test_reboot.s
阅读全文
posted @ 2018-12-07 17:59 Ray_lei
阅读(146)
评论(0)
推荐(0)
2018年11月30日
selenium 使用记录
摘要: #元素聚焦 target = d.find_element_by_xpath(ele) d.execute_script("arguments[0].scrollIntoView();", target) #弹出框点击确认d.switch_to.alert.accept() #headless模式
阅读全文
posted @ 2018-11-30 11:08 Ray_lei
阅读(288)
评论(0)
推荐(0)
2018年11月23日
ubuntu 1804 安装hadoop 2.7.7及配置文件说明
摘要: 创建hadoop用户同时指定使用 /bin/bash 作为 hadoop的shell: useradd -m hadoop -s /bin/bash 为hadoop 设置密码。 sudo passwd hadoop 为 hadoop 用户增加管理员权限,方便部署 sudo adduser hadoo
阅读全文
posted @ 2018-11-23 09:22 Ray_lei
阅读(855)
评论(0)
推荐(0)
2018年11月21日
Python 数据分割函数
摘要: 1 2 def split_data(data, prob): 3 """分割数据 4 split data into fractions [prob, 1 - prob]""" 5 results = [], [] 6 for row in data: 7 """ 8 这里对数据的迭代是有序的 9
阅读全文
posted @ 2018-11-21 17:48 Ray_lei
阅读(7335)
评论(0)
推荐(0)
2018年11月20日
pyspark 使用jdbc 连接mysql 数据库报错 Access denied for user 'root'@'localhost'
摘要: 在使用jdbc开启pyspark shell 下载jar包:https://dev.mysql.com/downloads/connector/j/ tar -zxf mysql-connector-java-8.0.13.tar.gz /usr/local/spark/jars/ 在启动pyspa
阅读全文
posted @ 2018-11-20 16:21 Ray_lei
阅读(2038)
评论(0)
推荐(1)
下一页
公告