上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: //安装gccsudo apt-get install software-properties-common python-software-properties sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get upd 阅读全文
posted @ 2022-03-15 17:09 KeepSmiling_me 阅读(45) 评论(0) 推荐(0)
摘要: 1.$(realpath $0):当前脚本的绝对路径 2.$(dirname $(realpath $0)):当前脚本所在的文件夹 3.source filename或 . filename 导入模块 4.if [[ ! -f ${filepath} ]]; then fi-f指判断文件是否存在-d 阅读全文
posted @ 2022-03-03 11:09 KeepSmiling_me 阅读(475) 评论(0) 推荐(0)
摘要: alter user 'root'@'localhost' identified by '123456'; 阅读全文
posted @ 2021-10-12 09:17 KeepSmiling_me 阅读(79) 评论(0) 推荐(0)
摘要: git bash 执行命令,生命公钥和私钥 命令: ssh-keygen -t rsa 生成的ssh key 默认路径为:C:\Users\电脑admin\.ssh .pub后缀为公钥 阅读全文
posted @ 2020-12-13 12:04 KeepSmiling_me 阅读(153) 评论(0) 推荐(0)
摘要: Oracle Java Archive 阅读全文
posted @ 2020-11-25 11:16 KeepSmiling_me 阅读(96) 评论(0) 推荐(0)
摘要: SpringBoot 确实为我们做了很多事情, 但有时候我们想要自己定义一些Handler,Interceptor,ViewResolver,MessageConverter,该怎么做呢。在Spring Boot 1.5版本都是靠重写WebMvcConfigurerAdapter的方法来添加自定义拦 阅读全文
posted @ 2020-07-08 13:20 KeepSmiling_me 阅读(276) 评论(0) 推荐(0)
摘要: 使用websocket有两种方式:1是使用sockjs,2是使用h5的标准。使用Html5标准自然更方便简单,所以记录的是配合h5的使用方法。 1、pom 核心是@ServerEndpoint这个注解。这个注解是Javaee标准里的注解,tomcat7以上已经对其进行了实现,如果是用传统方法使用to 阅读全文
posted @ 2020-07-08 09:40 KeepSmiling_me 阅读(274) 评论(0) 推荐(0)
摘要: "window.location.href"、"location.href"是本页面跳转 "parent.location.href"是上一层页面跳转 "top.location.href"是最外层的页面跳转 举例说明: 如果A,B,C,D都是jsp,D是C的iframe,C是B的iframe,B是 阅读全文
posted @ 2020-06-22 14:16 KeepSmiling_me 阅读(351) 评论(0) 推荐(0)
摘要: var user = {id:1, name:'zs', age:20}; var ele = '<a οnclick="edit(' + JSON.stringify(user).replace(/"/g, '&quot;') + ');">修改</a>'; 或者 var ele = '<a οn 阅读全文
posted @ 2020-06-08 15:48 KeepSmiling_me 阅读(799) 评论(0) 推荐(0)
摘要: // 阿里巴巴德鲁伊数据库连接池 // https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter compile group: 'com.alibaba', name: 'druid-spring-boot-st 阅读全文
posted @ 2020-06-05 15:49 KeepSmiling_me 阅读(281) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 下一页