potatoknight

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2020年1月16日

摘要: 1、下载安装包 https://www.anaconda.com/distribution/#download-section 2、下一步直接安装,选择only for you 3、添加源 在 c:\user\username\pip\pip.ini 添加 [global] index-url=ht 阅读全文
posted @ 2020-01-16 21:15 potatoknight 阅读(146) 评论(0) 推荐(0) 编辑

2019年12月16日

摘要: 问题起因 在一次下班收工时关闭虚拟机 Ubuntu,出现异常:关机好久没有完成,进而导致 VMware 软件卡死。后来强行杀死 VMware。第二天上班,启动 VMware 后开启 Ubuntu,输入密码登录后整个 Ubuntu 蓝屏(非 Windows 蓝屏)。重启多次结果还是一样。 VMware 阅读全文
posted @ 2019-12-16 10:06 potatoknight 阅读(186) 评论(0) 推荐(0) 编辑

2019年12月12日

摘要: 1、安装aptitude sudo apt-get install aptitude 以后都用 aptitude 管理软件 2、安装 pip #sudo aptitude install python-pip sudp apt-get install python-pip sudo pip inst 阅读全文
posted @ 2019-12-12 10:55 potatoknight 阅读(279) 评论(0) 推荐(0) 编辑

2019年6月25日

摘要: for 循环 常用命令 https://zhuanlan.zhihu.com/p/40189570 阅读全文
posted @ 2019-06-25 22:29 potatoknight 阅读(80) 评论(0) 推荐(0) 编辑

2019年5月15日

摘要: 查看jar包内的class 将class 打包成jar 阅读全文
posted @ 2019-05-15 11:29 potatoknight 阅读(86) 评论(0) 推荐(0) 编辑

2019年5月6日

摘要: master url http://localhost:16010/master-status 使用filter 阅读全文
posted @ 2019-05-06 17:38 potatoknight 阅读(83) 评论(0) 推荐(0) 编辑

2019年4月12日

摘要: 一、基础 1、工程根目录 包含build.sbt的目录是工程的根目录。注意,就算在一个空目录下面执行sbt about,也会生成project文件夹 2、源文件目录结构 SBT有固定的文件组织结构 不在src/下的文件夹会被忽略,当然src/下面的隐藏文件也会被忽略 3、SBT build定义文件 阅读全文
posted @ 2019-04-12 09:45 potatoknight 阅读(464) 评论(0) 推荐(0) 编辑

2019年1月18日

摘要: 创建map,并向map添加元素 关键字Option, Some, None https://blog.csdn.net/JasonDing1354/article/details/46788787 scala 中 Seq 和 List 的区别 在Java术语中,Scala的Seq将是Java的Lis 阅读全文
posted @ 2019-01-18 11:08 potatoknight 阅读(188) 评论(0) 推荐(0) 编辑

2018年11月28日

摘要: 一、运行 SockWordCount例子 1、到官网上下载 flink-1.6.2-bin-hadoop27-scala_2.11.tgz 然后加压出来 2、cd flink-1.6.2 3、打开flink本地集群 ./bin/start-cluster.sh 可以到 localhost.8100上 阅读全文
posted @ 2018-11-28 23:35 potatoknight 阅读(196) 评论(0) 推荐(0) 编辑

2018年11月25日

摘要: 1、git rm your_file 会把index和本地文件都删除掉,可以通过 git reset --hard HEAD 来进行恢复 2、git rm --cached your_file 这样只会把index中的删掉,your_file会变成untracked file,可以通过git res 阅读全文
posted @ 2018-11-25 22:03 potatoknight 阅读(184) 评论(0) 推荐(0) 编辑