码迷,mamicode.com
首页 >  
搜索关键字:failed to push some refs to    ( 25890个结果
js的prototype扩展的一个例子,模仿C#的StringBuilder功能,数组组合字符串,效率大于+拼凑
function StringBuilder() { this._strings_ = new Array;}StringBuilder.prototype.append = function (str) { this._strings_.push(str);};StringBuilde...
分类:Web程序   时间:2014-07-07 00:46:42    阅读次数:248
leetcode题解:Search in Rotated Sorted Array(旋转排序数组查找)
题目:Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5 6 7might become4 5 6 7 0 1 2).You are given a target valu...
分类:其他好文   时间:2014-07-06 23:34:53    阅读次数:273
IOS 改变Navigation的返回按钮
两个办法:1,手动为每一个UIViewController添加navigationItem的leftButton的设置代码2,为UINavigationController实现delegate,在pop和push的时候改变当前和上一页的navigationItem.title以下是封装的一些基础方法...
分类:移动开发   时间:2014-07-05 20:30:07    阅读次数:337
<<< Publishing failed with multiple errors 异常
Publishing failed with multiple errors在使用eclipse发布项目时不能自动生成class文件,且无法启动调试的Tomcat服务。启动过程提示 以上 异常解决方案:刷新工程即可问题产生原因:使用了 转码工具对代码进行格式转换,后启动就提起Publishing f...
分类:其他好文   时间:2014-07-05 18:38:23    阅读次数:239
Leetcode Valid Number
Validate if a given string is numeric.Some examples:"0"=>true" 0.1 "=>true"abc"=>false"1 a"=>false"2e10"=>trueNote:It is intended for the problem stat...
分类:其他好文   时间:2014-07-05 17:20:00    阅读次数:176
[Linux]Centos git报错fatal: HTTP request failed
在使用git pull、git push、git clone会报类似如下的错误: error: The requested URL returned error: 401 Unauthorized while accessing https://git.oschina.net/zemo/demo.git/info/refs fatal: HTTP request failed 一般...
分类:系统相关   时间:2014-07-04 09:27:03    阅读次数:589
在用TabbarController中出现navigationController 嵌套报错
如果出现: nested push animation can result in corrupted navigation bar  Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted. 一般这种情况是在自定义的t...
分类:其他好文   时间:2014-07-04 00:36:55    阅读次数:223
git 学习小记之记住https方式推送密码
昨天刚刚学了点git基础操作,但是不幸的是Git@OSC给出公告说尽量使用 https 进行操作。可是在用 https 进行 push 时,都需要输入帐号和密码。各种百度谷歌之后在Git@OSC官网找到了解决方法《https方式使用git@osc设置密码的方式》文中给出了几个方法,并且都非常简单。关...
分类:其他好文   时间:2014-07-03 23:48:41    阅读次数:572
解决VTune错误PMU resources currently being used by another profiling tool or process
错误信息: When I ran Hardware Event-based Sampling Analysis 0, it showed the ERROR: Collection failed Collection failed. The data cannot be displayed. PMU resource(s) currently being used by...
分类:其他好文   时间:2014-07-03 17:12:20    阅读次数:338
史上最全: svn与git的对比(二):svn与git的相关概念
纵观svn和git服务端的目录结构我们很容易发现 1.有些文件夹还是蛮像的,甚至是一样的比如说svn中的conf,hooks等git中也有,svn中的db类似与git中的objects。 2.git中的内容好像是比svn中,主要是多了head文件,branches,refs等 下面我们就详细来看一下这些文件夹或文件的作用...
分类:其他好文   时间:2014-07-03 13:52:43    阅读次数:214
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!