1.linux服务器上安装phpunit wget https://phar.phpunit.de/phpunit.pharchmod +x phpunit.pharsudo mv phpunit.phar /usr/local/bin/phpunit 建立phpunit短命令phpunit --v ...
分类:
Web程序 时间:
2016-10-15 16:23:42
阅读次数:
140
代码: 参考资料: http://www.th7.cn/Program/Python/201607/902253.shtml https://docs.djangoproject.com/en/dev/howto/custom-management-commands/ ...
分类:
其他好文 时间:
2016-10-15 14:03:50
阅读次数:
153
(使用通知和KVO更方便一些,这是在网上找到的,这里我做个传播者而已) https://pan.baidu.com/s/1eSt6xZs ...
分类:
其他好文 时间:
2016-10-15 13:53:18
阅读次数:
119
本文翻译自: https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching ,主要用于个人记录和共享,若有疏漏错误,请不吝指正,谢谢! The performance of web sites and applications can be si ...
分类:
Web程序 时间:
2016-10-15 13:30:41
阅读次数:
231
在页面头部加入属性 : 参考MSDN: https://msdn.microsoft.com/zh-cn/library/94c55d08(v=vs.100).aspx 效果图如下: ...
分类:
Web程序 时间:
2016-10-15 11:38:10
阅读次数:
192
ssls是从服务器拿到的ssl证书相关(具体待验证) hostname是访问的url的域名 https默认验证不通过时,可以自己重写这个方法,如果返回true,表示强制信任此证书,就是通常的弱信任。如果需要自己做操作,可以从ssls里面拿到服务器返回的证书数据,同自己请求的域名、证书签证的域名、证书 ...
分类:
Web程序 时间:
2016-10-15 11:30:02
阅读次数:
219
git clone https://github.com/pirobot/rbx1.git 1.打开一个终端 cd ~/catkin_ws/ catkin_make source ./devel/setup.bash cd src roslaunch rbx1_bringup fake_turtle ...
分类:
其他好文 时间:
2016-10-15 11:19:53
阅读次数:
305
Python的安装 windows 1、下载安装包 https://www.python.org/downloads/ 2、安装 默认安装路径:C:\python35 3、配置环境变量 【右键计算机】-->【属性】-->【高级系统设置】-->【高级】-->【环境变量】-->【在第二个内容框中找到变量 ...
分类:
编程语言 时间:
2016-10-15 09:22:43
阅读次数:
272
discuss里面这个写法实在写的太逻辑清晰了, 一看就懂 https://discuss.leetcode.com/topic/26750/share-my-java-backtracking-solution 一看Helper的签名就能做了哈哈 helper的含义是 代码如下: ...
分类:
其他好文 时间:
2016-10-15 07:38:09
阅读次数:
203
这是一题非常坑的简单题。 https://discuss.leetcode.com/topic/37254/let-me-explain-the-question-with-better-examples/2 //False, because “dig” has the same abbreviat ...
分类:
其他好文 时间:
2016-10-15 02:44:35
阅读次数:
189