The gray code is a binary numeral system where
two successive values differ in only one bit.Given a non-negative
integernrepresenting the total number...
分类:
其他好文 时间:
2014-04-30 00:21:32
阅读次数:
536
锁类型例子updateselect type,name from
v$lock_type;SQL> create table t(id int primary key);表已创建。SQL> insert into
t values(1);已创建 1 行。SQL> commit;提交完成。SQL> u...
分类:
其他好文 时间:
2014-04-29 22:57:24
阅读次数:
591
之前对于erlang的进程字典了解的不够清楚,只是知道put()、get()函数,即存值和取值,而每个put、get中都有自己的一对Key——Value(键值对)与之对应。一个Key对应一个Value.在erlang中,启动进程节点之后,进程字典的put、get的值是对缓存的处理,而对数据库的操作,...
分类:
其他好文 时间:
2014-04-29 22:52:14
阅读次数:
521
VIM中字符编码的设置 2008-07-24 12:54:18分类:
VIM中,我们可以通过修改/etc/vimrc文件来设置VIM的encoding,我们可以通过:help
encoding来察看vim中关于encoding的一些帮助,:help encoding-values可以看到vim支持的...
分类:
其他好文 时间:
2014-04-29 18:00:46
阅读次数:
533
Most of the database intensive applications are
worring about the default values of these variables obviously. Developers used
to inform me that they ...
分类:
数据库 时间:
2014-04-29 15:26:38
阅读次数:
739
JAVA 枚举定义常用方法: 1、static Enum valueOf(Class
enum,String name) 返回指定name的枚举类型 2、Static Enum values[] 返回枚举常量集合package
com.rhythmk.filedemo;import java...
分类:
编程语言 时间:
2014-04-28 07:01:10
阅读次数:
575
android多国语言文件夹android多国语言文件夹文件汇总如下:(有些语言的书写顺序可能跟中文是相反的)
中文(中国):values-zh-rCN中文(台湾):values-zh-rTW中文(香港):values-zh-rHK英语(美国):values-en-rUS英语(英国):values-...
分类:
移动开发 时间:
2014-04-27 21:41:18
阅读次数:
866
函数定义方式:
1.function fun1(){alert("fun1");} //函数就是一个非常特殊的对象,是一个Function的实例,其实在内存中存储的操作是通过一个键值对来存储的。
2.由于函数是一个对象,所以可以通过如下方式定义
var fun2 = fun1; //通过函数拷贝给fun2完成赋值,但fun1、fun2这两个引用并没有指向同一个对象(虽然他们指向的对象的内...
分类:
Web程序 时间:
2014-04-27 19:04:26
阅读次数:
1085
??
1、Binary Tree Postorder Traversal
Given a binary tree, return the postorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
retu...
分类:
其他好文 时间:
2014-04-27 18:58:59
阅读次数:
481