Given an array that is initially stored in one stack, sort it with one additional stacks (total 2 stacks). After sorting the original stack should con ...
                            
                            
                                分类:
其他好文   时间:
2019-01-04 14:33:09   
                                阅读次数:
154
                             
                    
                        
                            
                            
                                    一、什么是虚拟DOM? render执行的结果得到的并不是真正的DOM节点,结果仅仅是轻量级的JavaScript对象,我们称之为virtual DOM。 虚拟DOM是React的一大亮点,具有batching(批处理)和高效的Diff算法。这让我们可以无需担心性能问题而”毫无顾忌”的随时“刷新”整 ...
                            
                            
                                分类:
其他好文   时间:
2019-01-04 12:18:46   
                                阅读次数:
173
                             
                    
                        
                            
                            
                                ansible与salt对比相同都是为了同时在多台机器上执行相同的命令都是python开发不同agent(saltstack需要安装、ansible不需要)配置(salt配置麻烦,ansible基本不用配置)学习路线(salt比较陡峭,ansible比较平缓)第三方工具(salt比较少)开源社区的对接(salt比较少)现有用户(salt还是ansible少一些)二次开发扩展的能力(ansible比
                            
                            
                                分类:
其他好文   时间:
2019-01-04 12:18:10   
                                阅读次数:
235
                             
                    
                        
                            
                            
                                Given one stack with integers, sort it with two additional stacks (total 3 stacks). After sorting the original stack should contain the sorted integer ...
                            
                            
                                分类:
其他好文   时间:
2019-01-03 19:42:10   
                                阅读次数:
177
                             
                    
                        
                            
                            
                                07 | 推荐阅读:每个程序员都该知道的知识 每个程序员都应该要读的书 https://stackoverflow.com/questions/1711/what is the single most influential book every programmer should read 《代码 ...
                            
                            
                                分类:
其他好文   时间:
2019-01-02 20:45:52   
                                阅读次数:
254
                             
                    
                        
                            
                            
                                    新创建String类继承RealmObject ...
                            
                            
                                分类:
编程语言   时间:
2019-01-02 12:53:06   
                                阅读次数:
693
                             
                    
                        
                            
                            
                                1. Reshape: The np.reshape() method will give a new shape to an array without changing its data. Note that the new shape should be compatible with the ...
                            
                            
                                分类:
编程语言   时间:
2019-01-02 10:44:35   
                                阅读次数:
141
                             
                    
                        
                            
                            
                                # JSON.stringify出现:Converting circular structure to JSON
```
// Note: cache should not be re-used by repeated calls to JSON.stringify.
var cache = [];... ...
                            
                            
                                分类:
Web程序   时间:
2019-01-02 01:16:56   
                                阅读次数:
181
                             
                    
                        
                            
                            
                                    Let's say we have two strings: str1 = 'ACDEB' str2 = 'AEBC' We need to find the longest common subsequence, which in this case should be 'AEB'. Using  ...
                            
                            
                                分类:
其他好文   时间:
2019-01-01 23:51:59   
                                阅读次数:
161
                             
                    
                        
                            
                            
                                单一职责原则 Single Responsibility Principle 备受争议的原则,原因在于对职责的定义以及职责的划分 适用于接口,类,方法 定义:There should never be more than one reason for a class to change 应该有且仅有 ...
                            
                            
                                分类:
其他好文   时间:
2019-01-01 16:14:37   
                                阅读次数:
197