Restful 风格下的Spring Boot的注解开发 @SpringBootApplication @EnableAutoConfiguration @ComponentScan @Configuration @EnableWebMvc @Override @Validated(value={} ...
分类:
编程语言 时间:
2018-01-27 20:23:59
阅读次数:
296
参数 常用的参数如上,生命周期 语法糖 常见的语法糖如v-on: 和@ 、v-bind: 和: v-model 使用在input和textarea标签上能实现双向绑定,其实下面两个是相同的 思路同上延伸到单选框和复选框再修改下绑定就修改为 常用方法 比如$refs $el $options $set ...
分类:
其他好文 时间:
2018-01-27 13:48:51
阅读次数:
146
#这个配置文件是否失效 disabled=false #false为有效 true为无效 # 本storage server所属的group名 group_name=group1 # 可以版定一个ip,默认为空,绑定所有ip bind_addr= # 本配置只有在bind_addr设置以后才生效 # ...
分类:
其他好文 时间:
2018-01-27 11:28:42
阅读次数:
173
# is this config file disabled # false for enabled # true for disabled disabled=false #当前配置是否不可用false可用,true不可用 # bind an address of this host # empty ...
分类:
其他好文 时间:
2018-01-27 11:20:22
阅读次数:
249
类模板std::function是一个多态函数封装器。std::function的实例能存储、复制及调用任何可调用(Callable) 目标——函数、 lambda表达式、 bind表达式或其他函数对象,还有指向成员函数指针和指向数据成员指针。(摘自http://zh.cppreference.co ...
分类:
其他好文 时间:
2018-01-26 15:45:40
阅读次数:
156
前端三大框架: 对浏览器来讲,view视图就是页面。即是一个dom树。 浏览器会把当前html文档当做一个dom树。 jquery:js类库。js操作dom,进行打包。 jquery操作dom。但是功能相对较少。 但是还可以更牛逼,更简单。 bootstrap:css方向的框架。 前后端分离:(aj ...
分类:
其他好文 时间:
2018-01-26 01:37:41
阅读次数:
189
Stopping ... (might take a while) == Successfully stopped (label: homebrew.mxcl.nginx) == Successfully started (label: homebrew.mxcl.nginx) 但是实际上没启动成功 ...
分类:
系统相关 时间:
2018-01-25 13:13:06
阅读次数:
802
1、下载:spring-tool-suite-3.9.2.RELEASE-e4.7.2-win32-x86_64http://spring.io/tools/sts/all解压后点击配置Maven新建项目:输入项目名称:输入web显示成功:新建类:类里编写:importorg.springframework.web.bind.annotation.RequestMapping;importorg.
分类:
编程语言 时间:
2018-01-25 12:02:15
阅读次数:
279
redis作为一个高速数据库,在互联网上,必须有对应的安全机制来进行保护,方法有2,如下。 1.比较安全的办法是采用绑定IP的方式来进行控制。 请在redis.conf文件找到如下配置 If you want you can bind a single interface, if the ...
分类:
其他好文 时间:
2018-01-25 00:30:40
阅读次数:
188