博文地址:http://blog.csdn.net/liuhui_8989/article/details/19414187复制去Google翻译翻译结果http://blog.csdn.net/liuhui_8989/article/details/19414187
分类:
编程语言 时间:
2014-12-06 18:02:45
阅读次数:
193
在使用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
Given a sorted array of integers, find the starting and ending position of a given target value.
Your algorithm's runtime complexity must be in the order of O(log n).
If the target is not found in t...
分类:
其他好文 时间:
2014-12-06 08:53:46
阅读次数:
155
在整合android过程中导入别人的项目出现下面的错误:
error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
通过stackoverflow查到其解决方法,如下:...
分类:
移动开发 时间:
2014-12-06 06:34:11
阅读次数:
199
Problem DescriptionYour task is to Calculate a + b.Too easy?! Of course! I specially designed the problem for acm beginners.You must have found that s...
分类:
其他好文 时间:
2014-12-05 21:10:20
阅读次数:
237
首先,我yum的httpd,把备份好的文件会存到/data/backup,并且在http.conf中配置虚拟目录alias/mogodb/"/data/backup"
<Directory"/data/backup">
OptionsIndexesFollowSymLinks
AllowOverrideAll
Orderallow,deny
Allowfromall
</Directory>当我访问http://host/m..
分类:
Web程序 时间:
2014-12-05 19:30:39
阅读次数:
185
问题1:java.lang.IncompatibleClassChangeError:Found interface org.apache.hadoop.mapreduce.JobContext, but class was expectedat org.apache.mahout.common.H...
分类:
其他好文 时间:
2014-12-05 19:14:19
阅读次数:
1053
当静默安装提示104时,是说升级的APK 和本地已经安装的APK 签名不一致,所以无法升级。经百度,找到知乎同学@陈子腾的回答,找到了问题所在。可以比对apk签名的fingerprint。假定安装了JDK,如果想查HelloWorld.apk所使用的签名的fingerprint,可以这样做:1. 查...
分类:
其他好文 时间:
2014-12-05 18:50:14
阅读次数:
190
# -*- 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