Implementint sqrt(int x).Compute and return the
square root
ofx.classSolution{public:intsqrt(intx){inti=0;intstep=1;while(step>0){while((i+step)>1);}r...
分类:
其他好文 时间:
2014-06-04 19:54:17
阅读次数:
214
參考文章:http://blog.csdn.net/yang1982_0907/article/details/171004090. 用root账户登录系统1.
卸载iBusyum remove ibus2. 将RHEL 6.4的软件源更换为CentOS 6.4的软件源参考博文:http://blo...
分类:
其他好文 时间:
2014-06-03 13:56:35
阅读次数:
684
一、TreeGrid组件相关的类 1、TreeGrid(_config)
_config:json格式的数据,组件所需要的数据都通过该参数提供。2、TreeGridItem(_root, _rowId, _rowIndex,
_rowData) _root:显示组件实例的目标容器对象。 _rowId...
分类:
Web程序 时间:
2014-06-03 13:55:51
阅读次数:
446
环境:CentOS 5.0
操作系统一.安装:1.安装Vsftpd服务相关部件:[root@KcentOS5 ~]# yum install vsftpd*Dependencies
Resolved===================================================...
分类:
其他好文 时间:
2014-06-03 13:18:20
阅读次数:
388
1、由于CentOS系统默认源没有memcache安装包,因此需要导入第三方的源。执行如下两条命令:[root@EACNCTCSHHSHH00B001
data]# wget ftp://fr2.rpmfind.net/linux/epel/5/ppc/epel-release-5-4.noarch...
分类:
其他好文 时间:
2014-05-30 18:40:22
阅读次数:
325
1.adb简述: adb全称Android Debug
Bridge,安卓调试桥接器。它是Android sdk里的一个工具,用这个工具可以直接操作管理android模拟器或者真实的andriod设备。
adb也是一个客户端-服务器端程序,其中客户端是你用来操作的电脑,服务器端是你的androi.....
分类:
数据库 时间:
2014-05-30 18:39:02
阅读次数:
376
网上的教程实在是太恶心了,不是太老,就是有问题,刚参考的一篇文章也有问题。自己记录下来,以后用就方便了,现在一边重新安装一遍,一边记录。笔者亲测,今天是5月29号深夜。linux用的是centos6.2,yum
install subversion,安装svn服务端。本篇操作均为root用户权限。1...
分类:
系统相关 时间:
2014-05-30 17:05:23
阅读次数:
335
由于Android是基于Linux内核的操作系统。因此,在Android上可以执行Shell命令。 chenbjin@acer:~$adbshell
shell@android:/ $ su 拿到root权限 ls 查看文件夹 cd 改变目录 cat 查看文件 rm 删除文件 mkd...
分类:
数据库 时间:
2014-05-30 16:58:36
阅读次数:
380
Ubuntusudo apt-get install nfs-kernel-serversudo
apt-get install rpcbindsudo vim /etc/exports/home/xxx *(rw, sync,
no_root_squash)sudo /etc/init.d/nfs...
分类:
其他好文 时间:
2014-05-30 16:40:55
阅读次数:
212
Given a binary tree containing digits
from0-9only, each root-to-leaf path could represent a number.An example is the
root-to-leaf path1->2->3which rep...
分类:
其他好文 时间:
2014-05-30 16:32:52
阅读次数:
226