Git:是一个分布式的源代码管理工具,Linux内核的代码就是用Git管理的所以它很强,也很快,和 Vss/SVN比起来本地Git初始化配置及其使用:1.初始化本地Git库:打开Git Bash命令行>>git init2. 要使用GitHub,首先需要创建SSH Key,SSH将用来加密本机与远端...
分类:
其他好文 时间:
2014-08-02 20:48:24
阅读次数:
174
以保留2位小数为例,代码如下:#include#includeusingnamespacestd;intmain(){doublea;cin>>a;coutc)&&((a+c)>b&&((b+c)>a))) { p=(a+b+c)/2; s=sqrt(p*(p-a)*(p-b)*(p-c)); pr...
分类:
编程语言 时间:
2014-08-02 20:43:54
阅读次数:
1478
– 查询(或更新,删除,可以转换为查询)没有用到索引
这是最基础的步骤,需要对sql执行explain查看执行计划中是否用到了索引,需要重点关注type=ALL, key=NULL的字段。
– 在索引字段上施加函数
to_char(gmt_created, ‘mmdd’) = ...
分类:
数据库 时间:
2014-08-02 20:40:24
阅读次数:
282
This paper attempts to analyze the characteristics from the attacker's point of view about the currentopen source rootkit key technology, hope can fin...
分类:
系统相关 时间:
2014-08-02 18:18:34
阅读次数:
786
首先必须要有外键,InnoDB甚么的都不说了,直接上修改句子。ALTER TABLE `t_terminal`DROP FOREIGN KEY `FK704405E7F06A14EF`;ALTER TABLE `t_terminal`ADD CONSTRAINT `FK704405E7F06A14E...
分类:
数据库 时间:
2014-08-02 18:17:23
阅读次数:
219
//Foundation中的字典NSDictionary是由键-值对组成的数据集合。key(键)的值必须是唯一的
/*****************不可变字典*****************/
//字典的初始化
NSDictionary?*dic1?=?[NSDictionary?dictionar...
分类:
其他好文 时间:
2014-08-02 15:44:34
阅读次数:
252
A major function of the DataView is to allow for data binding on both Windows Forms and Web Forms.Additionally, a DataView can be customized to presen...
分类:
其他好文 时间:
2014-08-02 15:19:43
阅读次数:
175
A TabControl contains tab pages, which are represented by TabPage objects that you add through the TabPages property. The order of tab pages in this c...
分类:
其他好文 时间:
2014-08-02 15:19:03
阅读次数:
201
In a typical multiple-tier implementation, the steps for creating and refreshing a DataSet, and in turn, updating the original data are to:Build and f...
分类:
其他好文 时间:
2014-08-02 15:17:43
阅读次数:
225
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview(v=vs.110).aspxThe DataGridView control provides a customizable table for dis...