摘要: 工具:xshell或其他shell工具 第一种情况(没做端口映射): 命令:ssh 用户名@主机ip 端口号 例子:比如要远程到主机22.22.22.22的12345端口,命令为 ssh root@22.22.22.22 12345 第二种情况(做了端口映射): 命令:ssh 用户名@主机ip -p 阅读全文
posted @ 2020-06-03 13:47 timetellu 阅读(31213) 评论(0) 推荐(1) 编辑
摘要: 由于在本地用typora写的,所以直接paste to csdn了,博客园直接同步过来了Docker下DB2 新建用户创建数据库流程 阅读全文
posted @ 2020-05-31 23:35 timetellu 阅读(415) 评论(0) 推荐(0) 编辑
摘要: 写的真的好,掘金的质量真的高,实名点赞一波。 https://juejin.im/post/5c3ea92a5188251e101598aa 这是我之前写的统一响应结果集: public class ResponseResult { //状态码 private int status; //消息 pr 阅读全文
posted @ 2020-05-27 21:13 timetellu 阅读(385) 评论(1) 推荐(0) 编辑
摘要: 只记录常用的、便捷的 一、List转数组 —— 使用toArray()方法 注意:不能使用如下方法(牢记数组也是一个对象) ArrayList<String> list=new ArrayList<String>(); String strings[]=(String [])list.toArray 阅读全文
posted @ 2020-05-25 18:18 timetellu 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 为了便于查看效果,看CSDN中的博客 基础入门:https://blog.csdn.net/sinat_34863938/article/details/106169685 作图:https://blog.csdn.net/sinat_34863938/article/details/1061706 阅读全文
posted @ 2020-05-17 09:08 timetellu 阅读(603) 评论(0) 推荐(0) 编辑
摘要: 场景:团队协作时,远程仓库存在多个分支,你需要从指定分支克隆项目下来。 1、常规操作 git init (使用ide进行clone 的话,跳过这一步) git clone 远程仓库地址 【默认克隆的是master分支,有可能不是想拉下来的分支】 已经克隆了master分支,想要到指定的分支,使用以下 阅读全文
posted @ 2020-05-16 14:53 timetellu 阅读(16152) 评论(0) 推荐(2) 编辑
摘要: 参考: https://www.cnblogs.com/CarpenterLee/p/6550212.html 写的很好, 使用collect做字符串join,真的是过目不忘 0.0 // 使用Collectors.joining()拼接字符串 Stream<String> stream = Str 阅读全文
posted @ 2020-05-14 09:22 timetellu 阅读(130) 评论(0) 推荐(0) 编辑
摘要: ① Project setup:npm install② Compiles and hot-reloads for development:npm run serve③ Compiles and minifies for production:npm run build 阅读全文
posted @ 2020-04-30 18:17 timetellu 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 先看两篇安装文章,参考: Mac系统下MySQL的下载安装和配置教程 https://blog.csdn.net/WinstonLau/article/details/81323340 Mac版安装JDK并配置环境 https://blog.csdn.net/hutuyaoniexi/article 阅读全文
posted @ 2020-04-30 14:40 timetellu 阅读(1158) 评论(0) 推荐(0) 编辑
摘要: 当给一个input赋值时,由于onchange事件对input框不起作用。 失败: 大家首先会想到使用 oninput事件,然而oninput是需要用户手动输入,先获取焦点改变了值后失去焦点才触发,所以没卵用。 大多数论坛上多是说 onpropertychange 替代 change可以解决,然而兼 阅读全文
posted @ 2019-12-08 19:42 timetellu 阅读(3911) 评论(1) 推荐(1) 编辑