git init 产生的目录解释 error: src refspec master does not match any. 引起该错误的原因是,目录中没有文件,空目录是不能提交上去的 error: insufficient permission for adding an object to repository da...
分类:
其他好文 时间:
2015-03-04 19:35:08
阅读次数:
119
EF的条件中,无法用转格式,时间差作为条件,这时在EF6中,可以用DbFunctions 这个类,例如:db.NewsComments.Any( (entity.PostDate - p.PostDate).TotalMinutes < 30 ); //本意是找到与该数据30分钟之内的数据,但是会报...
分类:
其他好文 时间:
2015-03-04 16:47:37
阅读次数:
143
DescriptionGigel has a strange "balance" and he wants to poise it. Actually, the device is different from any other ordinary balance.It orders two arm...
分类:
其他好文 时间:
2015-03-04 15:57:26
阅读次数:
153
With highways available, driving a car from Hangzhou to any other city is easy. But since the tank capacity of a car is limited, we have to find gas stations on the way from time to time. Different ga...
分类:
其他好文 时间:
2015-03-03 22:14:52
阅读次数:
212
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:
其他好文 时间:
2015-03-03 20:20:36
阅读次数:
129
Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, "helloworld" can be printed as:
h d
e l
l r
lowo
That is, the characters mu...
分类:
其他好文 时间:
2015-03-03 18:42:38
阅读次数:
91
Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, "helloworld" can be printed as:
h d
e l
l r
lowo
That is, the characters must be pr...
分类:
其他好文 时间:
2015-03-03 13:37:59
阅读次数:
154
总结子查询:单行子查询:返回单行
使用单行比较操作符
多行子查询:多行子查询返回多行
多行操作符:
IN, ANY,ALL
若子查询查询结果为空,则不返回任何行创建和管理表:查询数据字典:查看用户定义的表:SELECT table_name
FROM user_t...
分类:
数据库 时间:
2015-03-03 01:16:12
阅读次数:
229
A table tennis club has N tables available to the public. The tables are numbered from 1 to N. For any pair of players, if there are some tables open when they arrive, they will be assigned to the ava...
分类:
其他好文 时间:
2015-03-02 19:10:02
阅读次数:
126
Linux内核Makefile笔记
周亦行
2014年11月参考文档
① linux源码Makefile的详细分析
② if_changed_rule/cc_o_c/any-prereq/arg-check
③ Makefile中的伪目标
④ Linux kernel 3.18.5
一、Makefile组成
(一)基本组成
顶层 Makefile
它是所有Makefile文件的核...
分类:
系统相关 时间:
2015-03-01 15:47:45
阅读次数:
261