一、简介 Docker是一个开源的容器引擎,能提供虚机化,从而达到隔离应用,可移植到任意安装有Docker的机器上运行,这对开发者来说是一个极大的福音。 由于工作上原因,最近准备开始使用Docker(公司装Docker的时候,linux server内核版本太低,需要重新编译)。 本文主要讲解如何在Mac OSX上安装Docker。 Tips:由于Docker引擎是使用了特定于Linux......
分类:
系统相关 时间:
2014-12-07 12:37:59
阅读次数:
445
Linux下,使用unzip解压时,报错:End-of-central-directory signature not found. Either this file is nota zipfile, or it constitutes one disk of a multi-part archiv...
分类:
其他好文 时间:
2014-12-06 20:16:37
阅读次数:
417
如果编写的判断式不满足strict weak ordering,就会出现Invalid operator< assertion error错误。网页:http://support.microsoft.com/kb/949171VS(其他编译器还没试过)中,sort函数要求比较函数是strict we...
分类:
其他好文 时间:
2014-12-06 20:13:54
阅读次数:
182
在使用Convert.ToBase64String()对字符串进行Base64编码时,注意的几点: 例:string s = "Hello"; byte[] bytes = Convert.FromBase64String(s); 以上代码在运行时会抛出FormatException异常.提示...
分类:
其他好文 时间:
2014-12-06 16:38:00
阅读次数:
158
iOS提交时出现这个错误的解决办法. This bundle is?invalid. Apps that include arm64 architecture cannot have MinimumOSVersion set to less than ‘5.1.1’.More information about 64-bit support for iOS ...
分类:
移动开发 时间:
2014-12-06 15:32:55
阅读次数:
194
做iOS移动应用很多开发者会喜欢抓网络发包、回包来联调服务端借口以及定位其他网络问 题。如果在Windows系统可以使用fiddler来做iOS的远程代理,只要fiddler所在系统与iOS设备同时连上同一个局域网即可。但是在 OSX系统上没有fiddler,相信做iOS开发用windows系统的不...
分类:
移动开发 时间:
2014-12-05 16:49:11
阅读次数:
282
# -*- coding: utf-8 -*-
import string
import json
import urllib2
import urllib
import base64
import sys
reload(sys)
sys.setdefaultencoding( "utf-8" )
#调用优酷网API获取json数据
def GetYouku():
re...
分类:
编程语言 时间:
2014-12-05 12:52:35
阅读次数:
469
CentOS 6.5下使用rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm命令安装GCC时提示以下错误:warning: gcc-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
error: Failed dependencies:
cloog-ppl >= 0.15 ...
分类:
其他好文 时间:
2014-12-04 20:05:44
阅读次数:
904
Linux(Ubuntu)添加module提示错误
insmod: error inserting : -1 Invalid module format
原因:所用内核版本号和正在运行的版本号不对应。
解决方案:重新编译你用的内核,然后安装内核
怎么编译和升级内核,请参见
http://blog.csdn.net/robinsonmhj/article/...
分类:
其他好文 时间:
2014-12-04 12:15:06
阅读次数:
138
在开发过程中使用IIS Express调试Web程序,当打开网站时出现问题,显示如下的页面。造成这个问题的原因是,可能网站的Web.config中对于访问权限的控制与IIS Express自身的application.host中的配置出现问题。现在要做的是,就是根据提示,找到找到冲突的配置,这里是authentication的配置, 这个配置在\My Documents\IISExpress\co...
分类:
数据库 时间:
2014-12-04 10:21:43
阅读次数:
173