- 博客(6)
- 资源 (23)
- 收藏
- 关注
原创 Git 常用命令
常用命令: 1. git reflog查看命令历史,以便确定要回到未来的哪个版本 2. git log可以查看提交历史,以便确定要回退到哪个版本 3. git reset --hard commit_id, 允许我们在版本的历史之间穿梭 4. 分支相关命令 查看分支:gitbranch 创建分支:gitbranch name 切换分支:gitcheckout name 创建+切换分
2014-12-16 10:36:59 442
原创 Remember a special rule to infer function invocation context
var obj[m] = function () { // this refers to obj; }
2014-12-11 14:56:31 464
原创 JavaScript call and apply
In JavaScript: f.call(o); f.apply(o); is equivalent to : o.m = f; // Make f a temporary method of o. o.m(); // Invoke it, passing no arguments. delete o.m; // Remove the temporary method.
2014-12-11 14:05:11 457
原创 A bug in example of JS definitive guide 6th
// Define an extend function that copies the properties of its second and // subsequent arguments onto its first argument. // We work around an IE bug here: in many versions of IE, the for/in loop //
2014-12-10 15:19:52 422
原创 将JavaScript对象property name变成小写
function lowerPropertyNames(obj) { if (obj == null) { return; } if (typeof obj != 'object') { return; } if (isArray(obj) && obj.length > 0) { // iterate over array obj for (var index in
2014-12-10 09:19:43 879
原创 JavaScript Number Conversion
Number() function is strict for number conversion; While parseInt and parseFloat functions are not strict and flexible for number conversion.
2014-12-04 11:03:29 388
JDK source code(with sun package's source code)
2016-01-12
Java并发编程实践第二版(Java Concurrency In Practice) with its source code
2015-11-16
Thinking in java 4th edition (Java编程思想第四版)source code(源代码)[可以轻松导入Eclipse运行]
2015-06-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人