Here's how you memorize things: ? Tell yourself you will do it. Don't try to find tricks or easy ways out of it, just sit down and do it. ? Write what ...
分类:
其他好文 时间:
2017-11-12 12:37:48
阅读次数:
203
在WEB Api中,引入了面向切面编程(AOP)的思想,在某些特定的位置可以插入特定的Filter进行过程拦截处理。引入了这一机制可以更好地践行DRY(Don’t Repeat Yourself)思想,通过Filter能统一地对一些通用逻辑进行处理,如:权限校验、参数加解密、参数校验等方面我们都可以 ...
1. 安装 npm install -g verdaccio 2. 启动 verdaccio // 界面显示信息 Verdaccio doesn't need superuser privileges. Don't run it und warn config file - /root/.confi ...
分类:
其他好文 时间:
2017-11-10 00:10:16
阅读次数:
8176
俗话说,祸从口出。职场高手往往都懂得什么该说,什么不该说。要把握说得太多和说得太少之间的分寸很难,但是管好自己的嘴也同样不容易。如果想在职场一帆风顺,以下12件事是你永远也不该吐露的。 You can’t build a strong professional network if you don’ ...
分类:
其他好文 时间:
2017-11-07 14:26:36
阅读次数:
168
添加忽略规则 .gitignore项目Android 添加忽略规则的三种方式From time to time, there are files you don't want Git to check in to GitHub. There are a few ways to tell Git wh... ...
分类:
其他好文 时间:
2017-11-07 12:16:49
阅读次数:
180
摘自官方介绍,没有翻译(没必要,已经比较简单了,重要的就是进行每条的诠释了,后续。。。) Entire Project on a CDN Because JAMstack projects don’t rely on server-side code, they can be distributed ...
分类:
其他好文 时间:
2017-11-04 00:13:32
阅读次数:
256
MYSQL生产场景读写分离M--------àS单向同步为保持数据一致性,只能在M上写入数据方法:1、从库,连接用户授权上控制2、Web程序写指向主,读指向从3、让从库只能读不能写(read-only)生产授权方案1:主库:grantselect,delete,insert,updateon*.*torep@’%’identifiedby‘don..
分类:
数据库 时间:
2017-11-04 00:12:10
阅读次数:
220
I remember tears streaming down your face, When I said I'll never let you go. When all those shadows almost killed your light, I remember you said don ...
分类:
其他好文 时间:
2017-11-03 20:13:37
阅读次数:
187
[From] https://segmentfault.com/q/1010000000430426 正确的做法应该是:git rm --cached logs/xx.log,然后更新 .gitignore 忽略掉目标文件,最后 git commit -m "We really don't want ...
分类:
其他好文 时间:
2017-10-31 12:41:12
阅读次数:
189
CA: Can I borrow your phone to call my boss? I cann't believe you still don't have a cellphone. Here you go. Thanks. Now, what do I need to do? First ...
分类:
其他好文 时间:
2017-10-30 19:44:12
阅读次数:
232