1. 运部门默认git使用 *nix 的 newline 符号. 解决: (1) 安装git时: 前辈认为应该是(1) 或者(3) (2)项目添加使用一个bash脚本(如果更改配置因为实现难度, 项目约定, 无法更改). 2. newline的问题, 甚至会影响cl.exe编译source文件.长生...
分类:
其他 时间:
2014-07-28 11:39:20
收藏:
0 评论:
0 赞:
0 阅读:
372
花括号保存对象方括号保存数组数组[];对象 {}数组对象:[ {}, {}, {} ](1)、复杂JSON对象。{"employees": [{ "firstName":"John" , "lastName":"Doe" }, { "firstName":"Anna" , "lastN...
分类:
Web开发 时间:
2014-07-28 11:38:50
收藏:
0 评论:
0 赞:
0 阅读:
386
Hibernate是面向Java环境的对象/关系数据库映射工具,管理Java应用和数据库之间的映射关系,提供数据查询和获取数据的方法,可以大幅减少使用JDBC处理数据持久化的时间。 使用Eclipse自动工具,Hibernate的用户比较简单,步骤如下:1、Eclipse创建动态网页项目在MS...
分类:
系统服务 时间:
2014-07-28 11:38:20
收藏:
0 评论:
0 赞:
0 阅读:
407
线段树单点更新//============================================================================// Name : E.cpp// Author : L_Ecry// Version :// C...
分类:
其他 时间:
2014-07-28 11:38:10
收藏:
0 评论:
0 赞:
0 阅读:
297
从后往前每个找出前面恰好留出k个位置 的位置就可以。//============================================================================// Name : F.cpp// Author : L_Ecry/...
分类:
其他 时间:
2014-07-28 11:37:40
收藏:
0 评论:
0 赞:
0 阅读:
289
一、电源是系统的血脉,要舍得成本,这对产品的稳定性和通过各种认证是非常有好处的。1.尽量采用∏型滤波,增加10uH电感,每个芯片电源管脚要接104旁路电容;2.采用压敏电阻或瞬态二极管,抑制浪涌;3.模电和数电地分开,大电流和小电流地回路分开,采用磁珠或零欧电阻隔开;4.设计要留有余量,避免电源芯片...
分类:
其他 时间:
2014-07-28 11:37:30
收藏:
0 评论:
0 赞:
0 阅读:
303
http://acm.hdu.edu.cn/showproblem.php?pid=2892解题思路:求多边形与圆的相交的面积是多少。以圆心为顶点,将多边形划分为n个三角形。接下来就求出每个三角形与圆相交的面积。因为三角形的一个点是圆心,所以三角形的另外两个点与圆的情况有以下几种:(1)两点都在圆里...
分类:
其他 时间:
2014-07-28 11:37:10
收藏:
0 评论:
0 赞:
0 阅读:
355
关于系统调用的基本原理,请参阅另一篇文章,本文的主要目标是从内核源代码的角度来学习一下系统调用在底层的内核中是如何实现的
分类:
系统服务 时间:
2014-07-28 11:36:20
收藏:
0 评论:
0 赞:
0 阅读:
433
目标网址http://127.0.0.1/shentou/sqli-labs-master/Less-5/?id=1Payload的生成 1 2 MySQL >= 5.0 AND error-based - WHERE or HAVING clause 3 2 4 1...
分类:
数据库技术 时间:
2014-07-28 11:36:10
收藏:
0 评论:
0 赞:
0 阅读:
768
在python2.5+中可以用with来保证关闭打开的文件with open('hello.txt') as f: do some file operations为什么要引入with呢?在之前如果要保证关闭文件需要这样:f = open('hello.txt')try: do some fi...
分类:
编程语言 时间:
2014-07-28 11:36:00
收藏:
0 评论:
0 赞:
0 阅读:
363
1004: Xi and BoTime Limit:1 SecMemory Limit:128 MBSubmit:273Solved:93[Submit][Status][Web Board]DescriptionBo has been in Changsha for four years. How...
分类:
其他 时间:
2014-07-28 11:35:50
收藏:
0 评论:
0 赞:
0 阅读:
401
Typical recurrsion\DFS problem. Just take care of memory use.class Solution {public: vector> ret; void go(int currMaxN, int currK, int k, unorde...
分类:
其他 时间:
2014-07-28 11:35:40
收藏:
0 评论:
0 赞:
0 阅读:
308
http://www.cnblogs.com/brucexuyg/archive/2012/06/22/2558755.html以表”Table”为例:如类型是MyISAM, 数据文件则以”Table.frm””Table.MYD””Table.MYI””三个文件存储于”/data/$databas...
分类:
数据库技术 时间:
2014-07-28 11:35:30
收藏:
0 评论:
0 赞:
0 阅读:
410
题目:Given a collection of intervals, merge all overlapping intervals.For example,Given [1,3],[2,6],[8,10],[15,18],return [1,6],[8,10],[15,18].题解:这道题主要....
分类:
编程语言 时间:
2014-07-28 11:35:20
收藏:
0 评论:
0 赞:
0 阅读:
308
题目:Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were ini....
分类:
编程语言 时间:
2014-07-28 11:35:10
收藏:
0 评论:
0 赞:
0 阅读:
453
题目:Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last w....
分类:
编程语言 时间:
2014-07-28 11:35:00
收藏:
0 评论:
0 赞:
0 阅读:
311
修改文件 source/class/class_member.php找︰ $refreshtime = 3000;修改上方的: $url_forward = dreferer();例如︰ $url_forward = 'http://www.discuz.net';
分类:
其他 时间:
2014-07-28 11:34:50
收藏:
0 评论:
0 赞:
0 阅读:
299
题目:Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your ma....
分类:
编程语言 时间:
2014-07-28 11:34:40
收藏:
0 评论:
0 赞:
0 阅读:
304
题目:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letter....
分类:
编程语言 时间:
2014-07-28 11:34:30
收藏:
0 评论:
0 赞:
0 阅读:
286
题目:Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order r....
分类:
编程语言 时间:
2014-07-28 11:34:20
收藏:
0 评论:
0 赞:
0 阅读:
431