protocol buffer从3.0 原生的compiler支持c++,Java,Python,Go,Ruby,JavaNano,JavaScript,Objective-C,C#,PHP这篇文章作为上一篇文章的补充,简单记录下一些变化。 protobuf的开源地址为:https://github ...
分类:
其他好文 时间:
2017-04-29 01:19:46
阅读次数:
2081
by Harrison Feng in Python 无论是range()还是xrange()都是Python里的内置函数。这个两个内置函数最常用在for循环中。例如: >>> for i in range(5): ... print i ... 0 1 2 3 4 >>> for i in xra ...
分类:
编程语言 时间:
2017-04-28 18:28:46
阅读次数:
260
在编写代码的时候,使用@Autowired注解是,发现IDE报的一个警告,如下: Spring Team recommends "Always use constructor based dependency injection in your beans. Always use assertion ...
分类:
其他好文 时间:
2017-04-28 15:53:16
阅读次数:
8189
Somehow, it seems the love I knew was always the most destructive kind 不知为何,我经历的爱情总是最具毁灭性的的那种 Yesterday when I was young 昨日当我年少轻狂 The taste of life wa ...
分类:
编程语言 时间:
2017-04-27 00:31:18
阅读次数:
363
SQL Server提供了多种读写分离的机制,这里只介绍下发布和订阅的方式,因为博主只用过这种形式,SQL Server 2012中新增的功能Always On也可以实现。 快照发布 快照复制是完全按照数据和数据库对象出现时的状态来复制和分发它们的过程。快照复制不需要连续地监控数据变化,因为已发布数 ...
分类:
数据库 时间:
2017-04-24 19:03:51
阅读次数:
233
SQL Server提供了多种读写分离的机制,这里只介绍下发布和订阅的方式,因为博主只用过这种形式,SQL Server 2012中新增的功能Always On也可以实现。 快照发布 快照复制是完全按照数据和数据库对象出现时的状态来复制和分发它们的过程。快照复制不需要连续地监控数据变化,因为已发布数 ...
分类:
数据库 时间:
2017-04-24 18:15:19
阅读次数:
223
UITabBarController *tabVC = [[UITabBarController alloc] init]; TestVC *vc = [TestVC new]; tabVC.tabBar.tintColor = [UIColor greenColor]; UINavigationC ...
分类:
其他好文 时间:
2017-04-24 12:12:12
阅读次数:
137
来源:http://www.huyng.com/posts/python-performance-analysis/ While it’s not always the case that every Python program you write will require a rigorous ...
分类:
编程语言 时间:
2017-04-24 12:06:48
阅读次数:
201
需要对SQL Server必要的端口打开Windows防火墙的入站规则,比如TCP- 1433端口等。<!--?xml:namespace prefix = "o" ns = "urn:schemas-microsoft-com:office:office" /--> 特别注意:由于AG默认需要用到 ...
分类:
数据库 时间:
2017-04-24 12:03:55
阅读次数:
389
1:将10MHz的时钟分频为500kHz的时钟。基本原理与1/2分频器一样,但是需要定义一个计数器,以便准确获得1/20分频 ...
分类:
其他好文 时间:
2017-04-23 13:19:06
阅读次数:
173