建立总线型拓扑。/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- *//** This program is free software; you can redistribute it and/or modify* it ...
分类:
其他好文 时间:
2014-06-24 10:54:21
阅读次数:
224
一、vim打开文档:1. vim 文档名 普通方式打开文档2. vim +n 文档名 打开文档后,定位第n行3. vim ,进入vim界面之后使用命令 :e 文档名 打开文档,此方式可以在编辑一个文档的同时打开另外一个文档二、多文档编辑:1. vim 文档1名 文档2名 ...2. vim ,进入....
分类:
其他好文 时间:
2014-06-24 10:23:25
阅读次数:
150
阅读内核代码习惯和喜欢使用source insight。如果能在source insight上修改内核代码,同时又不需要把修改的内核代码再拷贝到虚拟ubuntu上去那就方便了。于是想通过用samba与xp共享的方式来实现。即xp、samba、虚拟ubuntu9.10等工具。事实上是可以的,用sour...
分类:
其他好文 时间:
2014-06-24 09:57:21
阅读次数:
391
配置系统是复杂软件必不可少的一部分,org.apache.hadoop.conf.Configuration在Hadooop各个子项目中发挥着重要作用。 windows系统广泛使用一种特殊批的ASCII文件.ini作为其主要配置文件标准,被称为(Initialization File)或概要文...
分类:
其他好文 时间:
2014-06-24 09:11:43
阅读次数:
248
1. aam 里加入一个ip的internet 2. iis里不用加上ip,但不要有host name 出现的问题: 1. 当打开站点里会出现这个错误 file not found 2. 当加授予用户权限时,用户加不上去: Sorry, we're having trouble reaching t...
分类:
其他好文 时间:
2014-06-23 07:53:04
阅读次数:
223
apt-get install lib32z1 如果libz.so.1: cannot open shared object file: No such file or directory在/etc/ld.so.conf中加入/usr/lib 增加类库所有路径 /sbin/ldconfig –v」来...
分类:
其他好文 时间:
2014-06-23 07:44:47
阅读次数:
306
1.preferences>general>workspace>gbk改为utg-82.preferences>general>editors>file association >html/htm>设定默认打开工具3.preferences>general>apperance>颜色和字体(color...
分类:
系统相关 时间:
2014-06-23 07:35:02
阅读次数:
304
参考:http://www.kerneltravel.net/?p=334衔铁两段代码:/*chardev.c*/#include #include /*for file-f_op*/#include #include /*for copy_to_user()*/#include /*for cde...
分类:
其他好文 时间:
2014-06-23 07:03:05
阅读次数:
350
PHP如何防止SQL注入及开发安全[php]function inject_check($sql_str) {$check=eregi('select|insert|update|delete|\'|\/\*|\*|\.\.\/|\.\/|union|into|load_file|outfile',...
分类:
数据库 时间:
2014-06-23 06:07:14
阅读次数:
317
在Linux上使用vi命令修改一个文件内容的时候,发现无法保存,每次写完使用“:q!”命令可以正常退出但是使用":wq!"命令保存文件并退出时出现一下信息提示:E212: Can't open file for writing Press ENTER or type command to conti...
分类:
系统相关 时间:
2014-06-23 06:06:13
阅读次数:
303