OS: CentOS6.4#uname -r2.6.32-504.1.3.el6.x86_64安装完毕fig,并完成相应配置时执行如下命令出错(fig安装参见:http://www.fig.sh/):#fig upCouldn't connect to Docker daemon at http+u...
分类:
其他好文 时间:
2015-02-08 16:40:51
阅读次数:
205
fig,无花果。fig项目源自docker,可以认为是快速搭建基于Docker的隔离开发环境的工具。一、安装fig$ mkdir docker; cd docker
$ curl -L https://github.com/docker/fig/releases/download/1.0.1/fig-`uname -s`-`uname -m` > fig
$ sudo chmod +x fig...
分类:
其他好文 时间:
2015-02-05 15:02:27
阅读次数:
204
FIG制定的PHP规范,简称PSR,是PHP开发的事实标准。PSR原本有四个规范,分别是:PSR-0 自动加载PSR-1 基本代码规范PSR-2 代码样式PSR-3 日志接口2013年底,新出了第5个规范——PSR-4。
分类:
Web程序 时间:
2015-01-21 19:35:37
阅读次数:
156
1 //Fig. 2.7: Addition2.java ,命令行版加法 【JAVA大学基础教程_第六版 第43页】 2 3 package first; 4 5 import java.util.Scanner; //program uses class Scanner 6 7 publ...
分类:
其他好文 时间:
2015-01-11 17:43:24
阅读次数:
205
PSR是Proposing a Standards Recommendation(提出标准建议)的缩写,是由PHP Framework Interoperability Group(PHP通用性框架小组,简称PHP-FIG)发起的,通过他们命名就可以看出,这是个主要是针对框架通用性而做努力的开放性小...
分类:
Web程序 时间:
2014-12-20 10:28:10
阅读次数:
272
同matlab一样,matplot也可画散列图scatter。 1 import numpy as np 2 import matplotlib.pyplot as plt 3 #fig = plt.figure() 4 #ax = fig.add_subplot(111) 5 a1 = np.ar...
分类:
编程语言 时间:
2014-12-19 00:21:25
阅读次数:
527
Buck regulators find wide application as step-down regulators for converting large positive input voltages into a smaller positive output voltages.Fig...
分类:
其他好文 时间:
2014-11-28 14:05:24
阅读次数:
269
# -*- coding: utf-8 -*-"""Created on Fri Oct 24 19:32:45 2014@author: dell"""# -*- coding: utf-8 -*-"""Created on Fri Oct 17 09:14:25 2014generate fig...
分类:
编程语言 时间:
2014-10-24 20:26:16
阅读次数:
307
在上一篇文章中,介绍了PSR-0和autoload相关的内容。继PSR-0这个PHP自动加载的规范之后,PHP-FIG又推出了一个PSR-4,称为改进的autoload规范。
在此不详谈两者的定义了。在PSR-0中,\Symfony\Core\Request会被转换成文件系统的/path/to/project/lib/vendor/Symfony/Core/Request.php这个路径。PSR...
分类:
其他好文 时间:
2014-08-16 23:54:11
阅读次数:
1117