摘要: <div class="media" th:each="question:${questions}"> <div class="media-left"> <a href="#"> <img class="media-object img-rounded" th:src="${question.use 阅读全文
posted @ 2020-11-11 22:34 iTao0128 阅读(4008) 评论(0) 推荐(0)
摘要: 添加pom文件依赖 <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.16</version> <scope>provided</scope> </depen 阅读全文
posted @ 2020-11-08 10:30 iTao0128 阅读(216) 评论(0) 推荐(0)
摘要: 【一】pom文件添加: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> <dependency> <gro 阅读全文
posted @ 2020-11-04 07:35 iTao0128 阅读(106) 评论(0) 推荐(0)
摘要: 示例: github.redirect.uri=http://localhost:8080/callbackjava代码中通过@Value注解读取配置: @Value("${github.redirect.uri}")private String redirectUri; 阅读全文
posted @ 2020-11-02 07:31 iTao0128 阅读(815) 评论(0) 推荐(0)
摘要: 本地有代码时提交至git仓库。修改本地工作空间.git/config文件,添加 [user] name = xxx email = xxx@qq.com 命令git init git add . git commit -m "first commit" git branch -M main git 阅读全文
posted @ 2020-10-29 08:03 iTao0128 阅读(218) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the 阅读全文
posted @ 2020-10-27 22:16 iTao0128 阅读(7472) 评论(0) 推荐(1)
摘要: clone指定分支(克隆 dev 分支的代码) git clone --branch dev https://github.com/username/repository.git ①git status:命令用于显示工作目录和暂存区的状态。使用此命令能看到那些修改被暂存到了, 哪些没有, 哪些文件没 阅读全文
posted @ 2020-10-27 08:07 iTao0128 阅读(110) 评论(0) 推荐(0)
摘要: ①点击add a new public key,添加一个密钥 ②点击SSH and GPG Keys ③点击generating SSH keys ④点击adding a new ssh key ⑤打开下面2个链接 ⑥右键打开【Git Bash Here】,输入 ssh -keygen -t rsa 阅读全文
posted @ 2020-10-25 09:59 iTao0128 阅读(397) 评论(0) 推荐(0)
摘要: 一、进入idea官网选择想要下载的版本 官网版本选择页面: https://www.jetbrains.com/idea/download/other.html IntelliJ IDEA 分为两个版本,分别为:旗舰版(Ultimate)和社区版(Community)。 这里我选择了 2018.3. 阅读全文
posted @ 2020-10-23 08:09 iTao0128 阅读(13831) 评论(2) 推荐(1)
摘要: #修改tomcat的端口号server.port=8080 #config view resolver配置前端视图解析器spring.mvc.view.prefix=/pages/#spring.mvc.view.suffix=.jsp #config static resources配置静态资源访 阅读全文
posted @ 2020-09-27 07:52 iTao0128 阅读(584) 评论(0) 推荐(0)