摘要: 1.全局命令 查看所有键 —— keys *() 键总数——dbsize 键是否存在——exists key 删除键——del key(可以同时删除多个key例:del key1 key2 key3) 键过期——expire key seconds(秒)(超过时间自动删除) 键过期——expirea 阅读全文
posted @ 2018-08-11 16:48 Grace&Gemin 阅读(709) 评论(0) 推荐(0) 编辑
摘要: 分支下载 1. 在工作空间,右键,打开Git Bash 2. clone主分支的代码(即下载主分支代码的过程) 执行命令: git clone xxx.git 3. 进入工程目录 cd xxx 4. 切换到分支并下载代码 git checkout -b 远程仓库分支名字 origin/远程仓库分支名 阅读全文
posted @ 2018-04-11 11:09 Grace&Gemin 阅读(2002) 评论(0) 推荐(0) 编辑
摘要: 这里我使用的是GitLab 1.先在本地git清除文件夹 git rm xxx(xxx表文件名) -r ( -r 当给出主目录名时允许递归删除) 2.本地提交 git commit -m''(-m 备注) 3.最后push到远程仓库 git push -u origin master 阅读全文
posted @ 2018-03-07 11:49 Grace&Gemin 阅读(5910) 评论(0) 推荐(0) 编辑
摘要: SpringBoot在idea中的热部署配置: 1.添加依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true< 阅读全文
posted @ 2018-03-06 10:43 Grace&Gemin 阅读(1464) 评论(0) 推荐(0) 编辑
摘要: SpringBoot有两种配置文件格式一种以properties结尾,还有一种以yml结尾.只是里面的书写格式不同,并无太大区别 下面以配置连接MySQL数据库为例: 1.yml结尾的格式 2.properties结尾的格式 在说一下配置文件的问题,可以看到刚开的图片中,不知一个properties 阅读全文
posted @ 2018-01-31 16:57 Grace&Gemin 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 之前用IDEA搭建了一个基本的SpringBoot项目并且运行起来,现在我们来尝试从页面访问(跟SpringMVC很相似) 1.先创建一个class,我取名Controller 2.在类上加一个注解@RestController(这个注解结合了两个注解@Controller和@ResponseBod 阅读全文
posted @ 2017-12-18 23:01 Grace&Gemin 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 也是刚开始使用SpringBoot,希望跟大家一起学习。先附上几个我看的链接,当然,英语好的还是推荐看Spring官网文档 SpringBoot非官方教程 https://github.com/forezp/SpringBootLearning Spring-Boot干货系列 http://teng 阅读全文
posted @ 2017-12-18 22:27 Grace&Gemin 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 第一次使用IDEA,也是看了大神的笔记堪堪入门,附上大神的链接大家一起学习 最适合初学者的 IntelliJ IDEA 教程 (1)- HelloWorld 和相关设置 http://blog.csdn.net/lw_power/article/details/50155073 最适合初学者的 In 阅读全文
posted @ 2017-12-12 21:52 Grace&Gemin 阅读(4293) 评论(0) 推荐(0) 编辑