Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.For example,Given the following matrix:[ [ 1, 2, 3 ],...
分类:
其他好文 时间:
2014-06-18 21:56:06
阅读次数:
215
SQL> select count(*) from v$session #连接数SQL> Select count(*) from v$session where status='ACTIVE' #并发连接数SQL> show parameter processes #最大连接 process:.....
分类:
数据库 时间:
2014-06-18 20:28:17
阅读次数:
289
通过服务器中转访问其他服务器:su - ptkfcz输入passwordssh 用户@转接服务IP使用locate命令定位mongo位置进入mongo的bin目录下:输入命令进去mongoDB:./mongo IP:端口show dbs,use db,show tables
分类:
数据库 时间:
2014-06-18 20:18:05
阅读次数:
248
位于/etc/vim/的vimrc" All system-wide defaults are set in $VIMRUNTIME/debian.vim and sourced by" the call to :runtime you can find below. If you wish to....
分类:
其他好文 时间:
2014-06-18 17:21:42
阅读次数:
271
1.2. 逐层显示出楼房 void Start() { for (int i = 1; i < 14; i++) //第1秒显示第1层,第10秒的时候显示第10层 { StartCoroutine(Show(i)); } ...
分类:
其他好文 时间:
2014-06-18 16:13:02
阅读次数:
926
/*! Copyright Cdialog* version 1.0* liscense MIT*/var Cdialog = { showMask: true, //show mask isScroll:false, //auto detect scroll zIndex: 1000...
分类:
其他好文 时间:
2014-06-18 15:06:18
阅读次数:
329
公司内部一直在用的jQ的版本有些低,具体是哪个版本不太清楚,相关的东西都给删掉了,今天在做一个固定在页面右侧的导航的时候,IE6里出现了一个比较奇葩的问题。具体样子如下图:收起是用定位left等于负的宽度写到这里的,这个导航要在滚动出一瓶的时候才出现,结果IE6下“收起”这部分,死活看不到,最终我在...
分类:
Web程序 时间:
2014-06-18 14:35:50
阅读次数:
191
一、MySQL常用的命令:1. 连接数据库:mysql>mysql -uroot -p回车,再输入密码mysql -h 192.168.0.200 -P 3306 -u root -p2. mysql>status; 查看运行环境信息3. 显示所有数据库 : show databases;4. 切换...
分类:
数据库 时间:
2014-06-17 14:18:55
阅读次数:
447
Given a string containing only digits, restore it by returning all possible valid IP address combinations.
For example:
Given "25525511135",
return ["255.255.11.135", "255.255.111.35"].
(Order do...
分类:
其他好文 时间:
2014-06-16 19:24:42
阅读次数:
248
publicclassTest
{
publicstaticvoidmain(String[]args)throwsException{
Childrenc=newChildren();
c.show();
}
}
classParent
{
publicvoidshow(){
stepOne();
stepTwo();
}
voidstepOne(){
System.out.println("parent.stepOne()");
}
voidstepTwo(){
/..
分类:
其他好文 时间:
2014-06-16 15:12:59
阅读次数:
178