上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 59 下一页
摘要: console.log('%s: %d', 'Hello', 25); // 可以像C语言格式一样输出//app.jsvar http = require('http');http.createServer(function(req, res) {res.writeHead(200, {'Conte 阅读全文
posted @ 2016-04-13 16:24 神之一招 阅读(484) 评论(0) 推荐(0)
摘要: Node.js 简介 Node.js 是什么 Node.js 有着强大而灵活的包管理器(node package manager,npm) 目前, 已经有强大第三方工具模块, 例如数据库连接, 网站开发框架, CSS生成器, 操作系统API, 网络通信 等. Node.js 是什么 ? 是一个让 j 阅读全文
posted @ 2016-04-12 22:39 神之一招 阅读(270) 评论(0) 推荐(0)
摘要: 内部类 主要作用 1. 内部类, 主要用于事件监听的方法实现.2. 用于多继承 注: 主要还是 1 用的比较多. 参考 : head first java (第12章) 泛型 head first java (16章) 阅读全文
posted @ 2016-04-02 21:46 神之一招 阅读(845) 评论(0) 推荐(0)
摘要: 不要使用保护的域, 即不要使用 protected 除非所有继承的方法都有意义, 否则不要使用继承. 即父类中存在某个public方法, 对子类来说是没有意义的, 这也同时说明了, 子类和父类不是"is-a" 关系. 在覆盖(父类方法)时, 不要改变预期的行为. 使用多态, 而非类型判断( 例如: 阅读全文
posted @ 2016-04-02 21:37 神之一招 阅读(165) 评论(0) 推荐(0)
摘要: ==操作符专门用来比较值是否相等 int a=10; int b=10; 则 a==b, 返回 true. 但是, String a = new String("foo"); String b = new String("foo"); a == b, 返回的是 false, 因为 a 和 b 分别是 阅读全文
posted @ 2016-04-02 17:51 神之一招 阅读(154) 评论(0) 推荐(0)
摘要: 控制恐惧和欲望恐惧: 没有钱怎么生活欲望: 有钱了, 就想更有钱, 就想买更贵的东西, 这样, 就更感觉钱重要, 更怕没有钱, 所以, 变有钱人, 并不能消除对没有钱的恐惧和对更有钱的欲望.钱为我们工作作者通过开阅览室, 当我们不在那时, 我们同样挣钱, 这就是钱在为我们工作(钱生钱)财务知识重要的... 阅读全文
posted @ 2015-08-02 17:32 神之一招 阅读(297) 评论(0) 推荐(0)
摘要: 19.1 Overview of Optimizer Hints A hint is an instruction to the optimizer. In a test or development environments, hints are useful for testing ... 阅读全文
posted @ 2015-07-20 09:25 神之一招 阅读(189) 评论(0) 推荐(0)
摘要: 16.1 Introduction to SQL Tuning Identifying high load or top SQL statements that are responsible for a large share of the application workload and ... 阅读全文
posted @ 2015-07-20 09:24 神之一招 阅读(269) 评论(0) 推荐(0)
摘要: 正常配置一下, 就OK了, 不用理了, oracle 11g 默认启动发展: 1、从Oracle的发展角度来看,估计这种方法是Oracle发展和改进的方向,如今outline已经被废弃,sql profile 估计在后续的发行版本中也难有改进,因此,对于从11g开始接触O... 阅读全文
posted @ 2015-07-20 09:23 神之一招 阅读(426) 评论(0) 推荐(0)
摘要: do not build indexes unless necessary. 索引是非常占资源的To maintain optimal performance, drop indexes that an application is not using. 不用的索引可以drop掉, 通过toad可以... 阅读全文
posted @ 2015-07-20 09:22 神之一招 阅读(151) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 59 下一页