1. / – RootEvery single file and directory
starts from the root directory.Only root user has write privilege under this
directory.Please note that /ro...
分类:
系统相关 时间:
2014-06-04 20:04:22
阅读次数:
416
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
场景描述:被测系统是发布在远程服务器上的,假设IP是10.10.10.10,端口是8066,那么访问地址是http://10.10.10.10:8066/,在control机器上我设置了IP欺骗。错误现象:在场景运行时出现大量Action.c(8):
Error -27796: Failed to ...
分类:
其他好文 时间:
2014-06-04 19:04:58
阅读次数:
1295
1. 以 root 帐户执行上一条命令sudo !!2. 利用 Python 搭建一个简单的 Web
服务器,可通过http://$HOSTNAME:8000访问 python -m SimpleHTTPServer3. 切换到上一次访问的目录 cd -4.
将上一条命令中的 foo 替换为 ...
分类:
系统相关 时间:
2014-05-30 02:07:52
阅读次数:
324
一、数据收发:服务器端:netcat, nc -l -p
port客户端:telnet二、基于HTTP协议:客户端:curl(可查看http header)、wget(完整的HTTP
header和body)在wget一些网页时,会遇到http request send, response: no ...
分类:
其他好文 时间:
2014-05-30 00:56:47
阅读次数:
219
红黑树(Red-Black
Tree)红黑树是一种BST,但是每个节点上增加一个存储位表示该节点的颜色(R或者B);通过对任何一条从root到leaf的路径上节点着色方式的显示,红黑树确保所有路径的差值不会超过一倍,最终使得BST接近平衡;红黑树内每个节点包含五个属性:color,
key, lef...
分类:
数据库 时间:
2014-05-29 16:51:27
阅读次数:
400
mysql密码设置及重置方法作者
:小刘今天这篇文章,我们来看下mysql数据库的密码设置,当我们不小心忘记了root密码,是一件很糟糕的事情,希望此文章可以帮助大家,我们先从设置密码开始吧!我们刚安装好的mysql数据库,默认root的密码为空,这时我们可以用一下命令设置密码mysqladmin
...
分类:
数据库 时间:
2014-05-29 16:39:14
阅读次数:
350
[root@www ~]# vim
/etc/sysconfig/network-scripts/ifcfg-eth0静态IP设置DEVICE="eth0" <==网络卡代号,必须要
ifcfg-eth0 相对应HWADDR="08:00:27:71:85:BD"...
分类:
系统相关 时间:
2014-05-29 15:47:42
阅读次数:
378
string root = @"J:\yaoqianshu"; string pythonPath =
"解压缩拷贝启动动画测试(新).py"; string ccccPath = ""; ProcessStartInfo myPro...
分类:
其他好文 时间:
2014-05-29 15:31:11
阅读次数:
201
1、登陆mysql数据库 mysql -u root -p#查看数据库mysql> show
databases;+--------------------+| Database |+--------------------+|
information_schema || mys...
分类:
数据库 时间:
2014-05-29 15:28:05
阅读次数:
527