摘要: 配置全局git config --global user.name 用户名 git config --global user.email 邮箱 git config --list //查看配置的用户 ssh-keygen -t rsa -C 248******@qq.com // 输入邮箱,一直回车 阅读全文
posted @ 2023-06-03 10:20 六個字的昵称 阅读(37) 评论(0) 推荐(0) 编辑
摘要: @Resourceprivate SqlSessionFactory sqlSessionFactory;public void insert(List<User> insertList) { //具体实现 SqlSession sqlSession = sqlSessionFactory.open 阅读全文
posted @ 2023-03-15 17:37 六個字的昵称 阅读(35) 评论(0) 推荐(0) 编辑
摘要: Calendar now = Calendar.getInstance(); for (int i = 0; i < 12; i++) { int k = now.get(Calendar.YEAR); int j = now.get(Calendar.MONTH) + 1 - i; String 阅读全文
posted @ 2022-06-28 10:09 六個字的昵称 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 1、将tomcat/bin目录下catalina.sh拷贝到/etc/init.d/,并重命名为tomcat 2、文件拷贝完成后,对tomcat文件进行编辑,vi tomcat打开tomcat文件,并按i进行插入编辑,如下图,编辑完成后保存退出。 3.添加tomcat为系统服务 未添加tomcat为 阅读全文
posted @ 2021-11-10 17:38 六個字的昵称 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 异步转换 通过调用操作系统命令的方式实现,这个转换是异步的,根据文件的大小需要的时间不确定,如果在上传之后就要立即预览,需要用同步方式。 - 优点:实现方式简单,不需要额外配置信息,不需要添加第三方依赖库(当然 LibreOffice 是必须要安装的)。 - 缺点:发送指令之后,转换是否成功,是否有 阅读全文
posted @ 2021-11-09 17:48 六個字的昵称 阅读(1192) 评论(0) 推荐(0) 编辑
摘要: 卸载旧版本$ sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ do 阅读全文
posted @ 2021-11-09 17:16 六個字的昵称 阅读(12) 评论(0) 推荐(0) 编辑