产品开发过程中,可能会在分支merge的情况中发生如下情况: 假设现在有两个分支 -master 和 -t1 在t1分支中先创建文件a,并commit commit 23b2bce1b3fdfaa7505a7719d326e0160a0c25e4 Author: **** Date: Wed Feb
分类:
其他好文 时间:
2016-02-24 12:35:54
阅读次数:
146
症状: 在使用startActivityForResult调用照相机或者选择图片的时候,总是onActivityResult立马返回,resultCode=0 CANCEL。 startActivityForResult(intent,IMAGE_PICK_REQUEST); 因为是在fragmen
分类:
移动开发 时间:
2016-02-15 12:03:20
阅读次数:
239
Description Alice and Bob decide to play a funny game. At the beginning of the game they pick n(1 <= n <= 10 6) coins in a circle, as Figure 1 shows.
分类:
其他好文 时间:
2016-02-06 01:44:21
阅读次数:
189
Area Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 5666 Accepted: 2533 Description Being well known for its highly innovative products, M
分类:
其他好文 时间:
2016-02-05 01:21:09
阅读次数:
170
Pick-up sticks Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 11537 Accepted: 4337 Description Stan has n sticks of various length. He thr
分类:
其他好文 时间:
2016-02-03 11:45:40
阅读次数:
135
I got lost totally - it is a whole range of numbers! Actually, we can check each number within the range and pick it greedily. https://leetcode.com/di
分类:
其他好文 时间:
2016-02-01 09:37:37
阅读次数:
155
转载: http://blog.csdn.net/hudashi/article/details/7669462 git cherry-pick用于把另一个本地分支的commit修改应用到当前分支。 实际问题 在本地 master 分支上做了一个commit ( 38361a68138140827b
分类:
其他好文 时间:
2016-01-30 13:16:40
阅读次数:
109
计算几何,判断线段相交注意题目中的一句话:You may assume that there are no more than 1000 top sticks.我认为是没有描述清楚的,如果不是每次扔完都保证不超过1000,此题很难做吧。如果每次扔完保证小于1000根在顶部,那么暴力即可。开一个vec...
分类:
其他好文 时间:
2016-01-23 01:10:27
阅读次数:
180
1. ftrace的输出如下图所示:[003] 48375.494595: clear_buddies <-pick_next_entitym=re.match("^\[([0-9]*)\] ([0-9]+\.[0-9]+): (\\w+) <-(\\w+)", line);这个正则表达式,从lin...
分类:
编程语言 时间:
2016-01-20 01:10:04
阅读次数:
315
inten常见动作:MAIN_ACTION(主视图)、 VIEW_ACTION(查看)、 EDIT_ACTION(修改)、 PICK_ACTION 、GET_CONTENT_ACTION(获取内容)、 DIAL_ACTION 、CALL_ACTION 、SENDTO_ACTION、 ANSWER_A...
分类:
其他好文 时间:
2016-01-05 12:18:29
阅读次数:
197