安装git 在liunx终端sudo apt install git 使用git安装bunlde插件 git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim 对vimrc文件进行配置 call vu ...
                            
                            
                                分类:
系统相关   时间:
2020-06-20 21:32:22   
                                阅读次数:
124
                             
                    
                        
                            
                            
                                    call() 方法在使用一个指定的 this 值和若干个指定的参数值的前提下调用某个函数或方法。 apply 方法,类似,不同点在于, apply 方法传入的第二个参数 是一个数组, 实现步骤 改变函数的his指向 调用该方法 删除方法 function foo(){ console.log(thi ...
                            
                            
                                分类:
移动开发   时间:
2020-06-20 21:05:03   
                                阅读次数:
76
                             
                    
                        
                            
                            
                                    基于NVIDIA GPUs的深度学习训练新优化 New Optimizations To Accelerate Deep Learning Training on NVIDIA GPUs 不同行业采用人工智能的速度取决于最大化数据科学家的生产力。NVIDIA每月都会发布优化的NGC容器,为深度学习框 ...
                            
                            
                                分类:
其他好文   时间:
2020-06-20 17:11:07   
                                阅读次数:
55
                             
                    
                        
                            
                            
                                本文基于tensorflow-v1.15分支,简单分析下tensorflow中的优化器。 optimizer = tf.train.GradientDescentOptimizer(learning_rate=.05) train_op = optimizer.minimize(loss) 实际上, ...
                            
                            
                                分类:
其他好文   时间:
2020-06-20 14:10:14   
                                阅读次数:
159
                             
                    
                        
                            
                            
                                    var arr= [1,2,3,4]; function isArray(o) { return Object.prototype.toString.call(o)== '[object Array]'; } console.log(isArray(arr));//Object.prototype. ...
                            
                            
                                分类:
编程语言   时间:
2020-06-20 14:09:24   
                                阅读次数:
61
                             
                    
                        
                            
                            
                                Call to undefined function think\captcha\imagettftext()
                            
                            
                                分类:
Web程序   时间:
2020-06-20 10:32:15   
                                阅读次数:
97
                             
                    
                        
                            
                            
                                代码: #coding=utf-8 import requests import json url='http://127.0.0.1:4444/wd/hub/session' data = json.dumps({ 'desiredCapabilities':{ 'browserName':'Mi ...
                            
                            
                         
                    
                        
                            
                            
                                mysql分析sql语句耗时情况 mysql -h10.3.40.98 -uroot -p command mysql> use viewfocus; mysql> set profiling=1; call func(); show profiles; ...
                            
                            
                                分类:
数据库   时间:
2020-06-20 01:08:15   
                                阅读次数:
64
                             
                    
                        
                            
                            
                                    函数的节流 函数节流的原因 DOM操作操作比非DOM操作需要更多的内存和CPU时间比如 onresize事件处理程序DOM操作,高频率会让浏览器崩溃,解决这个问题可以用定时器对该函数进行节流 函数节流基本思想 每隔一段时间执行, 比如第一次调用函数,创建一个定时器,在指定时间隔执行代码,第二次调用函 ...
                            
                            
                                分类:
其他好文   时间:
2020-06-20 00:49:42   
                                阅读次数:
79
                             
                    
                        
                            
                            
                                    # 执行命令,返回是否执行成功retcode = subprocess.call("for tar in %s/*.tar.gz;do tar zxvf $tar -C %s;done" %(first_dir,first_dir))#执行命令,返回执行命令的结果,close_fds防止僵尸进程大量 ...
                            
                            
                                分类:
其他好文   时间:
2020-06-19 15:59:17   
                                阅读次数:
45