摘要: [root@docker00 ~]# ssh-keygen -t rsa [root@docker00 ~]# cd .ssh/ [root@docker00 .ssh]# cp id_rsa.pub authorized_keys [root@docker00 .ssh]# chmod 600 a 阅读全文
posted @ 2023-12-21 20:58 初入门径 阅读(30) 评论(0) 推荐(0)
摘要: 代码本地存储路径 "E:\Talend\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\TUTORIAL\poms\jobs\process\tutirial\tutorial_0_0.1\src\main\java\tutorial\tutorial_0_0 阅读全文
posted @ 2021-04-17 23:20 初入门径 阅读(145) 评论(0) 推荐(0)
摘要: 创建分支 git checkout -b mybranch 查看当前分支 git branch 切换分支 git checkout demobranch 查看是否有修改过的文件 git status 添加新增的代码 git add demo.java 提交新增的代码 git commit -m "m 阅读全文
posted @ 2021-04-12 19:22 初入门径 阅读(24) 评论(0) 推荐(0)
摘要: Eclipse控制台输出颜色 Help- > EclipseMarketplace- > find AnsiConsole, 然后单击install进行安装 Main menu -> Window -> Preferences -> Run/Debug -> Console public class 阅读全文
posted @ 2021-01-12 19:44 初入门径 阅读(949) 评论(0) 推荐(0)
摘要: Ctrl+L go to line 阅读全文
posted @ 2021-01-02 09:52 初入门径 阅读(68) 评论(0) 推荐(0)
摘要: command+R 当前文本替换 command+/ 注释/解除注释 control+?+/ 注释:/**/ command+F3 快速显示桌面 shift+command+4 截屏 shift+command+5 录屏(无声音) control+空格 切换输入法 caps 切换日语输入法和英语 c 阅读全文
posted @ 2020-10-27 08:43 初入门径 阅读(177) 评论(0) 推荐(0)
摘要: package spark.demo object MyApp2 { // 部分适用 def msg (from: String, to: String, text: String) = s"($from -> $to): $text" def main(args: Array[String]): 阅读全文
posted @ 2020-09-25 16:35 初入门径 阅读(616) 评论(0) 推荐(0)
摘要: package spark.demoobject MyApp { def main(args: Array[String]): Unit = { // 函数柯理化 val multiFunc = (a: Int, b: Int) => a * b val multiFuncCurried = (a: 阅读全文
posted @ 2020-09-25 16:33 初入门径 阅读(192) 评论(0) 推荐(0)
摘要: [root@centos00 ~]$ jps 7174 Kafka 7502 Jps [root@centos00 ~]$ PIDS=$(jps -lm | grep -i 'kafka.Kafka'| awk '{print $1}') [root@centos00 ~]$ kill -9 ${P 阅读全文
posted @ 2020-09-22 15:32 初入门径 阅读(506) 评论(0) 推荐(0)
摘要: [root@centos00 ~]$ ./stop-kafka.sh -bash: ./stop-kafka.sh: /bin/sh^M: bad interpreter: No such file or directory 解决: 编码集Windows(CR LF)更改为Unix(LF) 阅读全文
posted @ 2020-09-21 22:13 初入门径 阅读(1114) 评论(0) 推荐(0)