2012年8月1日

摘要: Linux 下zip包的压缩与解压linux zip 命令详解 功能说明:压缩文件。 语 法:zip [-AcdDfFghjJKlLmoqrSTuvVwXyz$][-b <工作目录>][-ll][-n <字尾字符串>][-t <日期时间>][-<压缩效率>][压缩文件][文件...][-i <范本样式>][-x <范本样式>] 补充说明:zip是个使用广泛的压缩程序,文件经它压缩后会另外产生具有".zip"扩展名的压缩文件。 参 数: -A 调整可执行的自动解压缩文件。 -b<工作目录> 指 阅读全文
posted @ 2012-08-01 12:41 operation_master 阅读(150) 评论(0) 推荐(0) 编辑

2012年7月4日

摘要: vi保存文本和退出命令:w 保存文件但不退出vi:w file 将修改保存在file中但不退出vi:wq或ZZ或:x 保存文件并退出vi:q! 不保存文件,退出vi:e! 放弃所有修改,从上次保存文件开始再编辑 阅读全文
posted @ 2012-07-04 19:36 operation_master 阅读(147) 评论(0) 推荐(0) 编辑

2012年7月3日

摘要: 解决方案:运行输入cmd回车在命令提示符下输入for%1in(%windir%\system32\*.dll)doregsvr32.exe/s%1记住:不要复制,1个个打上去,会看到飞快地滚屏否则……否则失败就是没这效果。回车后慢慢等(需要点时间1-2分钟)都运行完。。。OK!不知道这个命令具体什么意思但是好像是把SYSTEM32下的所有DLL都注册成了WINDOWS服务,或者说把所有服务都重新注册了一次!那么我遇到的出错问题可能是因为我乱关了某些服务吧! 阅读全文
posted @ 2012-07-03 13:03 operation_master 阅读(110) 评论(0) 推荐(0) 编辑

2012年6月30日

摘要: operator precedence: structure member operator . is higher than pointer dereference operator * ;If p is a pointer to a structure, thenp->member-of-structure refers to the particular member. -> is also higher than * ;The two operator above (. and ->), together with () for function calls and 阅读全文
posted @ 2012-06-30 10:07 operation_master 阅读(102) 评论(0) 推荐(0) 编辑

2012年6月18日

摘要: ubuntu下安装samba一. Ubuntu samba配置的安装:sudo apt-get install samba smbfs smbclient二. 创建共享目录:mkdir /home/komy/sharesodu chmod 777 /home/komy/share三. 创建Ubuntu Samba配置文件:1. 保存现有的配置文件sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak2. 修改现配置文件sudo gedit /etc/samba/smb.conf在smb.conf最后添加[share]path = /home/ko 阅读全文
posted @ 2012-06-18 12:56 operation_master 阅读(114) 评论(0) 推荐(0) 编辑

2012年6月3日

摘要: UML:http://edn.embarcadero.com/article/31863The heart of object-oriented problem solving is the construction of a model. The model abstracts the essential details of the underlying problem from its usually complicated real world. Several modeling tools are wrapped under the heading of theUML™, which 阅读全文
posted @ 2012-06-03 13:15 operation_master 阅读(152) 评论(0) 推荐(0) 编辑

2012年6月1日

摘要: Tell, Don't AskAlec Sharp, in the recent book Smalltalk by Example[SHARP], points up a very valuable lesson in few words: Procedural code gets information then makes decisions. Object-oriented code tells objects to do things. — Alec SharpThat is, you should endeavor to tell objects what you want 阅读全文
posted @ 2012-06-01 22:27 operation_master 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 英文原文:I give the orders around here! 自从 9 岁那年得到第一台 Commodore 64 家用电脑起,我就开始编程。然而,当面对如何写出好的代码时,我仍然感觉自己还有很多要学的。 在探索如何提高自己的过程中,我学了很多种语言。大多数是以面向对象为主的(OO)。 然而,让我惊讶的是,在我读过的大多数书本、杂志和网上文章中,有着大量遭透了的被当作面向对象例子的代码。 这些代码中,我看到的最多被违反的原则是“命令,不要去询问(Tell, Don’t Ask)”原则。这个原则讲的是,一个对象应该命令其它对象该做什么,而不是去查询其它对象的状态来决定做什么(查... 阅读全文
posted @ 2012-06-01 19:44 operation_master 阅读(154) 评论(0) 推荐(0) 编辑

2012年5月28日

摘要: May 28android: Animationandroid.widget.SimpleAdapter:Constructorpublic SimpleAdapter(Context context, List<? extends Map<String, ?>> data, int resource, String[] from, int[] to)ParameterscontextThe context where the View associated with this SimpleAdapter is runningdataA List of Maps. Ea 阅读全文
posted @ 2012-05-28 10:20 operation_master 阅读(136) 评论(0) 推荐(0) 编辑

2012年5月19日

摘要: DLL: dynamic link library module 阅读全文
posted @ 2012-05-19 17:50 operation_master 阅读(141) 评论(0) 推荐(0) 编辑

导航