最近刚刚换了工作,原来一直用angular系列,本来一直看好react的,结果facebook自己非要作死,结果就让vue直飞冲天了,现在工作中也用到vue,熟悉之余顺便记下一笔。后续可能会有weex先关的,暂且记录一下。 今天看了一下vue的生命周期,顺便和之前用的angular、react进行一 ...
分类:
其他好文 时间:
2017-11-25 11:33:11
阅读次数:
196
php basics in PHP, variables are defined as $_alphanum variables should always prefixed a $ variables defined/assigned outside of a function cannot be ...
分类:
Web程序 时间:
2017-11-24 19:07:21
阅读次数:
222
Design an algorithm to encode a list of strings to a string. The encoded string is then sent over the network and is decoded back to the original list ...
分类:
Web程序 时间:
2017-11-23 19:37:04
阅读次数:
220
一、简介 CORS需要浏览器和服务器同时支持。目前,所有浏览器都支持该功能,IE浏览器不能低于IE10。 整个CORS通信过程,都是浏览器自动完成,不需要用户参与。对于开发者来说,CORS通信与同源的AJAX通信没有差别,代码完全一样。浏览器一旦发现AJAX请求跨源,就会自动添加一些附加的头信息,有 ...
分类:
其他好文 时间:
2017-11-21 14:27:48
阅读次数:
176
0参考资料 三度的ansible首页 http://www.cnblogs.com/sanduzxcvbnm/category/1036442.html kkblog的ansible首页 http://www.cnblogs.com/Carr/tag/ansible/ ansible documen ...
分类:
其他好文 时间:
2017-11-20 19:13:05
阅读次数:
123
leetcode 41. First Missing Positive Hard descrition Given an unsorted integer array, find the first missing positive integer. Your algorithm should ru ...
分类:
其他好文 时间:
2017-11-19 21:17:36
阅读次数:
206
Consider two natural numbers A and B. Let S be the sum of all natural divisors of A^B. Determine S modulo 9901 (the rest of the division of S by 9901) ...
分类:
其他好文 时间:
2017-11-19 19:48:53
阅读次数:
131
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 递归实现: /* ...
分类:
其他好文 时间:
2017-11-18 00:48:49
阅读次数:
237
https://stackoverflow.com/questions/7335142/asp-net-whats-the-page-life-cycle-order-of-a-control-page-compared-to-a-user-c You should look at this ASP ...
分类:
Web程序 时间:
2017-11-17 19:50:05
阅读次数:
225
1 c++ compiler error c4430 "c++ doesn't support default int" 1.1 可能的原因之一 我用了在一个头文件中定义的宏,但是忘记了include这个头文件。 2 error C2724 'static' should not be used o ...
分类:
编程语言 时间:
2017-11-17 00:02:06
阅读次数:
168