Git 的BUG小结
Git 在push的时候出现了:
fatal: The remote end hung up unexpectedly
在网上找了很多 发现出现了以下错误提示也可能是相同的问题:
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everythi...
分类:
其他好文 时间:
2014-07-08 21:10:53
阅读次数:
180
题目
Given a linked list, determine if it has a cycle in it.
Follow up:
Can you solve it without using extra space?
解答
首先要注意空链表不成环;不能开额外的空间,即空间复杂度是o(1),可采用“快慢指针”查检查链表是否含有环,如果在快的指针能够追上慢的指针,则有环,否...
分类:
其他好文 时间:
2014-07-08 19:17:47
阅读次数:
160
The Lost House
Time Limit: 3000MS
Memory Limit: 30000K
Total Submissions: 2140
Accepted: 886
Description
One day a snail climbed up to a big tree and finally came to th...
分类:
其他好文 时间:
2014-07-08 18:08:00
阅读次数:
267
Description
During winter, the most hungry and severe time, Holedox sleeps in its lair. When spring comes, Holedox wakes up, moves to the exit of its lair, comes out, and begins its new life.
Hol...
分类:
其他好文 时间:
2014-07-08 17:28:54
阅读次数:
256
Code Style包括两个方面:代码清理,代码规范化。代码清理可以参考:
http://www.ibm.com/developerworks/cn/opensource/os-eclipse-clean/
代码清理过程:
进入eclipse菜单: Window > Preferences > Java > Code Style > Clean Up,点击界面上方的Import,在弹出框...
分类:
系统相关 时间:
2014-07-08 17:09:15
阅读次数:
525
2014-07-05 17:11:20.594 SevenStars[2185:60b] nested push animation can result in corrupted navigation bar
2014-07-05 17:11:21.005 SevenStars[2185:60b] Finishing up a navigation transition in an unexp...
分类:
其他好文 时间:
2014-07-06 12:31:20
阅读次数:
198
Elevator
Time Limit: 1000ms Memory limit: 32768K 有疑问?点这里^_^
题目描述
The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers de...
分类:
其他好文 时间:
2014-07-06 10:52:11
阅读次数:
188
There are a bunch of different methods you can use to back up your MongoDB data, but if you want to avoid downtime and/or potential
performance degradation, the most common advice seems to be that y...
分类:
数据库 时间:
2014-07-06 09:26:04
阅读次数:
437
The Game
Description
One morning, you wake up and think: "I am such a good programmer. Why not make some money?'' So you decide to write a computer game.
The game takes place on a rectangular...
分类:
其他好文 时间:
2014-07-06 09:02:34
阅读次数:
287
一直在找svn回滚的方法,这个还是很实用的,屡试不爽阿
经常由于坑爹的需求,功能要切回到之前的某一个版本。有两种方法可以实现:
方法1: 用svn merge
1) 先 svn up,保证更新到最新的版本,如20;
2) 然后用 svn log ,查看历史修改,找出要恢复的版本,如10 。如果想要更详细的了解情况,可以使用svn diff -r 10:20 [文件或目录];
3...
分类:
其他好文 时间:
2014-07-05 22:50:24
阅读次数:
351