最新评论
Re:判断单链表里面有没有环 hcGeorge 2011-07-26 09:01
不错!可以学习一下!
Re:Linux与Window 文件共享 RocZhang 2011-04-11 00:01
To冷月X,
是的有man 和 manual 帮助,具体命令的怎么用,具体的选项是不需要记下来。
但是对于已经解决的问题,已经做过的东西,还是要记录下来,主要是命令记下来。记性不如烂笔头:)
到时命令都忘记,还是用man不方便:)
别忘记连个很好的工具dos2linux 和linux2dos
Re:Linux与Window 文件共享 冷月X 2011-04-03 20:12
不要这样背命令,要学会用man,会看manual文档了就不用记这记哪了,用的时候看看manual马上就知道了。
Re:英语与毅力 binbin821 2011-03-22 18:03
“不要找借口”说的太有道理了
补充一下,函数调用框架里面:
如果函数有返回值怎么办?
比如
[code=csharp]
Base f()
{
Base b;
return b;
}
int main()
{
Base d=f();
}
[/code]
函数调用的时候就会把d的地址也压栈,在函数返回之前也 会调用那个 Base 的copy 构造函数来初始花d 。
Re:C++ IDE for Linux RocZhang 2011-01-15 18:14
记录一下kdevelp 编译的一个需要的库
问题: CMake Error at
> >
> /usr/local/share/cmake-2.7/Modules/FindPackageHandleStandardArgs.cmake:57
> > (MESSAGE):
> > Could NOT find KDE4Workspace (missing: KDE4Workspace_CONFIG)
> > Call Stack (most recent call first):
解决方案:
apt-get install kdebase-workspace-dev
Re:【转】sudo 用法 RocZhang 2010-12-17 10:43
想到另外一个问题: Linux系统中,当一个用户区执行一个命令时,系统是如何检查该用户是否有权限执行改程序? 是怎么判断的?
先看文件本身权限(-rwxr-xr-x)位,如果该用户可以有权限,就直接执行。 如果是(-rws-r-xr-x) 则需要检查搜索/etc/sudoers。 查看是否被授权执行该文件?
新问题: /etc/sudoers 可以规定用户没有权限执行一个程序,这个与文件本身的标志位冲突,以哪个为标准?
问题先记下来
Re:【转】sudo 用法 RocZhang 2010-12-16 00:37
Linux 实现权限管理,用 Users hosts=(OP)Command 这样表达式,
调用alias,regular express, hosts 各种表达, 表达力超强。
在这种情况下,远远强大于 关系数据库中的表。
是想想,这种 i,j,k 之间三维多对多的关系,用表表达,那需要多少冗余数据阿
Re:Linux tool RocZhang 2010-11-29 01:04
watch
time
Re:云计算时代来临 RocZhang 2010-11-21 20:56
与其说云计算是一项新技术,倒不如说它是一项在业务模式方面的创新。
1.企业按需为硬件买单。将一次性的投资,分为租赁。
2.软件的买卖变成租赁,用户也是按需付费,无须再买软件。
Add more power ssh.
1. nohup
2. watch to monitor the output change, or the file , the ps
Re:测试的一些思考总结 RocZhang 2010-10-23 14:26
测试的境界:
有条不稳, 沟通顺畅,有节奏,有步骤
http://ubuntuforums.org/showthread.php?t=288534
Mount samba shares with utf8 encoding using cifs
Re:Linux tool RocZhang 2010-07-06 14:39
gnome-do / docky
Launcher application in the spirit of Quicksilver
Re:Linux tool RocZhang 2010-07-06 14:18
planner (1) - Project Management application for GNOME
Expect script introduction:
http://en.wikipedia.org/wiki/Expect
Expect is a Unix automation and testing tool, written by Don Libes as an extension to the Tcl scripting language, for interactive applications such as telnet, ftp, passwd, fsck, rlogin, tip, ssh, and others. It uses Unix pseudo terminals to wrap up subprocesses transparently, allowing the automation of arbitrary applications that are accessed over a terminal. With Tk, interactive applications can be wrapped in X11 GUIs.
还有一个另外一个方法,把另外一台机器的yum 拷贝到自己的机器。 当然拷贝之前一定要备份
Re:How to set VNC RocZhang 2010-03-19 18:32
Note: Different vnc account should be set password, otherwise it cant be work.
Building the boost1.36 in fedora8 is very easy, just follow the window step .