错误Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to https://dl-ssl.google.com refusedFailed to ...
分类:
移动开发 时间:
2014-07-16 22:58:26
阅读次数:
234
Building roadsTime Limit:2000MSMemory Limit:65536KTotal Submissions:6229Accepted:2093DescriptionFarmer John's farm has N barns, and there are some cow...
分类:
其他好文 时间:
2014-07-16 22:54:52
阅读次数:
260
给新手写了一个便于理解的动画链式 var anmin = {} anmin.list = []; anmin.run = function(nextfun){ anmin.list.push(nextfun); //加入动画正在触发 (function fire() { if (!anmin.fir...
分类:
其他好文 时间:
2014-07-12 08:27:51
阅读次数:
272
1、Shell$ExitCodeException
现象:运行hadoop job时出现如下异常:
14/07/09 14:42:50 INFO mapreduce.Job: Task Id : attempt_1404886826875_0007_m_000000_1, Status : FAILED
Exception from container-launch: org.apache....
分类:
其他好文 时间:
2014-07-11 00:24:58
阅读次数:
355
Git是进来比较火的版本控制工具,大有取代svn的趋势。关于两种孰好孰坏我就不多费口舌了,网上关于二者的对比文章比比皆是。作为一个IT人员关注行业的发展动态是必须的,所以抽空研究了一下Git的使用。跟大家分享一下我的一些感受吧。首先,我们想要使用Git,得先安装一个软件,那就是msysgit。软件安装很简单,一路next即可,在设置行结束转换时, 选择 “Checkout as-is, commi...
分类:
其他好文 时间:
2014-07-10 21:42:39
阅读次数:
270
今天写一个简单的socket网络通讯的程序的时候,用ctrl+c结束服务器端程序之后,再次启动服务器出现了bind failed:the address already in use的错误。在网上查了一下以后找到了原因,在此记录一下。这个IBM的官网上说到了这一点:http://www.ibm.com/developerworks/cn/linux/l-sockpit/。详细介绍如下:
...
分类:
系统相关 时间:
2014-07-10 21:30:27
阅读次数:
806
Evaluate the value of an arithmetic expression in Reverse Polish Notation.
Valid operators are +, -, *, /.
Each operand may be an integer or another expression.
Some examples:
["2", "1", ...
分类:
其他好文 时间:
2014-07-10 19:39:53
阅读次数:
146
错误例子:error: command 'cc' failed with exit status 1clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard err...
分类:
其他好文 时间:
2014-07-10 19:30:11
阅读次数:
3913
AudioServices
Jump to:
navigation,
search
AudioServices is a group of C functions in
AudioToolbox for playing short (≤30 seconds) sounds.
Predefined sounds
There are some predefined system s...
分类:
移动开发 时间:
2014-07-10 17:29:49
阅读次数:
396
在做iphone push的时候,keychain不能导出p12证书
解决方法很简单,选中左下角的我的证书即可...
分类:
其他好文 时间:
2014-07-10 17:27:47
阅读次数:
239