前言从今天开始搭建自己的base.js,主要实现封装各浏览器兼容函数及常用操作。JS中,最常见的浏览器兼容问题估计就是事件兼容问题了,比如获取事件对象、绑定事件等,我们可以将这些兼容函数放在一个全局对象EventUtil里面,减少全局变量污染,并保证随时扩充。事件绑定在Firefox、Chrome等...
分类:
Web程序 时间:
2014-08-17 19:49:32
阅读次数:
349
在Android平台的应用程序开发过程中,Manifest文件举足轻重。每一个应用程序都要有一个Manifest文件,他定义了APP在Android系统的基本信息。
下面通过一个例子做一个简单解析,虽然不全,但是可以了解各大概。
例子取自AOSP4.4 frameworks/base/packages/SystemUI/AndroidManifest.xml,...
分类:
其他好文 时间:
2014-08-17 18:36:32
阅读次数:
284
转自:http://blog.csdn.net/cdsnmdl/article/details/3968688————————————————————————————————————1、方法继承:利用extends关键字一个方法继承另一个方法,而且只能直接继承一个类。当Sub类和Base类在同一个包...
分类:
编程语言 时间:
2014-08-17 18:31:12
阅读次数:
242
har类型的长度被定义为一个8位字节,这很简单。short类型的长度至少为两字节。在有些计算机上,对于有些编译程序,short类型的长度可能为4字节,或者更长。int类型是一个整数的“自然”大小,其长度至少为两字节,并且至少要和short类型一样长。在16位计算机上,int类型的长度可能为两字节;在...
分类:
其他好文 时间:
2014-08-17 14:20:32
阅读次数:
176
发现一个比较有意思的网站,http://www.oracle-base.com/articles/11g/articles-11g.php
Oracle 11g Articles
Oracle Database 11g: New Features For Administrators OCP Exam ArticlesOracle Database 11g Release 1: Mis...
分类:
数据库 时间:
2014-08-16 23:51:31
阅读次数:
734
标记一下,慢慢研究 http://www.oracle-base.com/dba/scripts.php
Monitoring
access.sqlactive_sessions.sqlcache_hit_ratio.sqlcall_stack.sqlcode_dep.sqlcode_dep_distinct.sqlcode_de...
分类:
数据库 时间:
2014-08-16 23:51:01
阅读次数:
616
1. 在修改前先备份该文件cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak2. 修改更新源配置文件(CentOS6地址,其他版本类似)vim打开配置文件:vim /etc/yum.repos.d/Ce...
分类:
其他好文 时间:
2014-08-16 23:44:21
阅读次数:
264
oracle提供的标准包ftp
CREATE OR REPLACE PACKAGE BODY ftp AS
-- --------------------------------------------------------------------------
-- Name : http://www.oracle-base.com/dba/miscellaneous/ftp....
分类:
数据库 时间:
2014-08-16 22:34:01
阅读次数:
359
In the model layer, the Model class is the base class while the ModelBase class is metaclass. They are the entry points of the whole model layer...
分类:
其他好文 时间:
2014-08-16 22:32:31
阅读次数:
282
Problem Description
Given a base b and two non-negative base b integers p and m, compute p mod m and print the result as a base b integer. p mod m is defined as the smallest non-negative integer k ...
分类:
其他好文 时间:
2014-08-16 21:11:11
阅读次数:
169