/**
* A listener for all the change in the preference file. It is used to maintain the global state of the application.
*/
private class PreferenceListener implements SharedPreference...
分类:
其他好文 时间:
2014-09-05 11:25:31
阅读次数:
219
grep是linux中很常用的一个命令,主要功能就是进行字符串数据的对比,能使用正则表达式搜索文本,并将符合用户需求的字符串打印出来。 grep全称是Global Regular Expression Print,表示全局正则表达式版本,它的使用权限是所有用户。grep在数据中查找出一个字符串时,是...
分类:
其他好文 时间:
2014-09-05 02:09:30
阅读次数:
194
一、静态全局变量和非静态全局变量1. 隐藏作用 比较非静态全局变量和静态(static)全局变量: 对于多个文件的代码,非静态全局变量和函数都是全局可见的。举例如下: a.c中:#include增加这条语句char a = ‘A‘; // global variablevoid msg() {...
分类:
编程语言 时间:
2014-09-04 22:09:00
阅读次数:
191
ASP.NET全局应用程序类引自老Man的博客http://shijiaqi1066.iteye.com/blog/1728603这个保存到自己的博客里边方便以后学习查看全局文件新建全局文件Visual Studio 【添加新项】-->【Web】-->【全局应用程序类】产生Global类。一个web...
分类:
Web程序 时间:
2014-09-04 20:43:10
阅读次数:
220
<?php
defined(‘IN_PHPCMS‘) or exit(‘No permission resources.‘);
pc_base::load_app_func(‘global‘);
class index{
private $db;
private $content_db;
private $order_db;
public function __constr...
分类:
Web程序 时间:
2014-09-04 15:11:19
阅读次数:
204
In this Document
Purpose
Troubleshooting Steps
1. TX deadlock in Exclusive(X) mode
2. TX deadlock in Share(S) mode
3. TM dea...
分类:
其他好文 时间:
2014-09-03 15:00:56
阅读次数:
404
Mvc4的Razor视图引擎还提供了@RenderSection
我的理解:@RenderSection在母版页中占个位,然后让使用此母版页的子页自己去呈现他们的Section。
在母版页_Layout.cshtml中定义@RenderSection("Section名")
@{Html.RenderAction("Menu", "Global");}
...
分类:
Web程序 时间:
2014-09-01 22:46:53
阅读次数:
371
先修改1节点的1.修改ocr中public的信息1 [oracle@rac1 ~]$ oifcfg delif -global eth02 [oracle@rac1 ~]$ oifcfg setif -global eth0/172.168.1.0:public3 [oracle@rac1 ~]$ ...
分类:
数据库 时间:
2014-09-01 22:41:13
阅读次数:
569
var window = this || (0, eval)('this')在avalon源码中有这么一行代码,var window = this很容易理解这里复习一下Global Object:Global Object代表一个全局对象,js中不允许存在独立的函数,变量和常量,它们都是Global...
分类:
其他好文 时间:
2014-09-01 22:30:43
阅读次数:
271
1 ;(function(global ,undefined){ 2 var evts = {} 3 ,onceTag = '__event_once' 4 function emit(event ){ 5 var args = util.toArr...
分类:
其他好文 时间:
2014-09-01 17:14:43
阅读次数:
197