转发自:http://www.cnblogs.com/UliiAn/p/5402146.html 在WEB Api中,引入了面向切面编程(AOP)的思想,在某些特定的位置可以插入特定的Filter进行过程拦截处理。引入了这一机制可以更好地践行DRY(Don’t Repeat Yourself)思想, ...
Becoming inspired - The 11 questions to ask yourself when you feel uninspired @ Advanced Studio Classroom Vol: 2017 MARCH 24 Maybe you're struggling t... ...
分类:
其他好文 时间:
2017-08-27 12:05:18
阅读次数:
206
第1个一点点:专注眼下 见过太多心猿意马的程序员,我不得不把「专注眼下」作为天字第一条。他们往往有各式各样的小梦想,比如做个小茶农、做个小鹅贩、做产品、做销售、做投资,却被程序员的高薪或是没有转行的魄力「耽误」了, 而因为不专注,他们不在意做好自己的本分,不在意锤炼自己的技能,不在意学习新兴的技术。 ...
分类:
其他好文 时间:
2017-08-21 20:43:07
阅读次数:
335
1.下载 cxf 直接进入镜像下载http://mirrors.tuna.tsinghua.edu.cn/apache/cxf/3.1.12/apache-cxf-3.1.12.zip 2.配置 CXF 环境变量 CXF_HOME=E:/installFile/cxf/apache-cxf-3.1. ...
分类:
Web程序 时间:
2017-08-20 18:33:56
阅读次数:
268
高级优化在octave中有封装函数,需要代价函数和每个theta对应代价函数的偏导实现,算是一个比较高级的梯度下降算法,免除人·工设定学习率 ...
分类:
其他好文 时间:
2017-08-17 18:38:41
阅读次数:
290
这道题还是对于Integer的处理,在Reverse Integer这道题中我有提到,这种题的考察重点并不在于问题本身,而是要注意corner case的处理,整数一般有两点,一个是正负符号问题,另一个是整数越界问题。思路比较简单,就是先去掉多余的空格字符,然后读符号(注意正负号都有可能,也有可能没 ...
分类:
其他好文 时间:
2017-08-11 10:47:30
阅读次数:
200
After going through the receipts from your car trip through Europe this summer, you realised that the gas prices varied between the cities you visited ...
分类:
其他好文 时间:
2017-07-26 22:02:42
阅读次数:
225
题目: Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. For ...
分类:
编程语言 时间:
2017-07-24 21:20:39
阅读次数:
151
有时候我们需要每次单独设置众多state中的一个,但是,都是进行相同的操作,这时候如果每个值都要单独写一个相同的函数的话,违背了don't repeat yourself的原则,并给日后的维护埋下了极大的隐患。 这时我们就会想向上抽取,把每次不同的key传递给这个函数,就像下面这样: this.st ...
分类:
其他好文 时间:
2017-07-20 20:15:33
阅读次数:
218
Demo:https://github.com/baiqiantao/MultiTypeTest.gitGitHub:https://github.com/drakeet/MultiTypecompile 'me.drakeet.multitype:multitype:3.1.0'MultiType... ...
分类:
其他好文 时间:
2017-07-18 19:50:24
阅读次数:
783