Git中从远程的分支获取最新的版本到本地有这样2个命令:1. git fetch:相当于是从远程获取最新版本到本地,不会自动merge git fetch origin master git log -p master..origin/master git merge origin...
分类:
其他好文 时间:
2014-07-03 11:01:44
阅读次数:
157
git merge的基本用法为把一个分支或或某个commit的修改合并现在的分支上。 我们可以运行git merge -h查看其命令usage:gitmerge[options] [...] or:git merge[options] HEAD or:git merge--abort -n ...
分类:
其他好文 时间:
2014-07-03 10:39:05
阅读次数:
252
casperjs的选择器可以在dom下工作,他既支持css也支持xpath.下面所有的例子都基于这段html代码: My page Hello one two three ©2012 myselfCSS3默认情况下,...
分类:
Web程序 时间:
2014-07-03 09:10:37
阅读次数:
235
1、函数重载overloading:C++允许在同一范围中声明几个功能类似的同名函数,但是这些同名函数的形式参数parameter lists(指参数的个数、类型或者顺序)必须不同;int max(int a, int b);double max(double a, double b);int ma...
分类:
其他好文 时间:
2014-07-03 07:19:30
阅读次数:
244
一:编写目的本文档的编写旨在探寻规范的软件开发流程、加快软件开发速度、提高软件开发质量、降低项目综合成本。IT界有一句格言:"You can do it right; you can do it fast; you can do it cheap. Pick two." 而我们要做的就是:提供优质服...
分类:
其他好文 时间:
2014-07-01 16:36:01
阅读次数:
193
There is something wrong in PhyreEngine 3.8 to fullfill MSAA, actually, I think it is eqaaYou have to merge the codes from PhyreEngine 3.9. Thank God ...
分类:
其他好文 时间:
2014-07-01 16:29:11
阅读次数:
268
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You may assume no duplicates in the array....
分类:
其他好文 时间:
2014-07-01 15:22:44
阅读次数:
140
在学习数据库的时候选择的是一本翻译书,有些概念没有搞清楚,现在总结一下。内联接语句select * FROM table1 one INNER JOIN table2 two ON one.table1_id=two.table2_id;返回的结果是两个表中都存在的匹配数据左联接语句SELECT *...
分类:
数据库 时间:
2014-07-01 11:54:23
阅读次数:
251
高精度乘法问题,WA了两次是因为没有考虑结果为0的情况。ProductThe ProblemThe problem is to multiply two integers X, Y. (0 3 #include 4 #include 5 using namespace std; 6 7 con...
分类:
其他好文 时间:
2014-07-01 10:24:54
阅读次数:
238
还是读了很长时间的题,不过题本身很简单。可以把四棵树想象成正方形的四个顶点,已知两个相对顶点的坐标,求另外两个坐标。不过,原题可没直接这么说,中间需要一些小证明。题中说有一个平行四边形然后分别以四条边为边长向外作正方形,四棵树就在四个正方形中心的位置。这是我用几何画板画的图。下面证△FOE≌△HGO...
分类:
其他好文 时间:
2014-07-01 10:14:31
阅读次数:
316