1) make a autorun script and put to /etc/init.d 2) link to specify run level directory such as copy ? /opt/httpd/bin/apachectl to /etc/init.d and link to rc3.d? rc6.d #> cp /opt/httpd/bin/apachec...
分类:
Web程序 时间:
2015-05-13 10:49:40
阅读次数:
110
%% 图像抓取并存入当前目录image文件夹下% 建立图片存储文件夹
if exist('image','dir')~= 7
mkdir([cd,'/image']) % 与下一句一样
end
directory=[cd,'/image/']; %当前工作目录下文件夹%定义一个监控界面
hf = figure('Units', 'Normalized', 'Menubar', 'None',...
分类:
其他好文 时间:
2015-05-13 10:41:00
阅读次数:
877
使用Visual Studio建立一个.aspx文件(Web Forms),例如hovertree.aspx,在页面上加入一个ListBox代码如下:Html代码那么在页面上显示根目录子文件夹的代码如下:C#代码string[]m_subKeleyiFolder=Directory.GetDirec...
分类:
Web程序 时间:
2015-05-13 10:04:35
阅读次数:
153
今天再完成一道任务的时候需要遍历得到所有txt文件,搜索很久终于得到了一个很方便的方法。 foreach (string o in Directory.GetDirectories(@"D:\Logs") { foreach (string i in Directory.GetFiles(o)) {...
分类:
Web程序 时间:
2015-05-12 22:27:04
阅读次数:
212
情况类似如下:(其中 removed_directory 是你工作的某个目录)代码如下复制代码$svn statusD C removed_directory> local unversioned, incoming add upon updateSummary of conflicts:Tree ...
分类:
其他好文 时间:
2015-05-12 17:07:07
阅读次数:
131
设置php server,选择Local Apache Http Server,定位到wamp/bin/apache然后输入name为apache,提示“Installation Directory does not contain Apache HTTP Server configuration.”
解决方案:定位到wamp/bin/apache下的conf 目录,即:wamp/...
分类:
Web程序 时间:
2015-05-12 15:56:09
阅读次数:
216
Linux管理文件和目录的命令命令功能命令功能pwd显示当前目录ls查看目录下的内容cd改变所在目录cat显示文件的内容grep在文件中查找某字符cp复制文件touch创建文件mv移动文件rm删除文件rmdir删除目录1.1 pwd命令该命令的英文解释为print working directory...
分类:
系统相关 时间:
2015-05-12 15:00:06
阅读次数:
148
In DAX 2012, label files can be very frustrating. If you delete the actual files in the Application directory, AX may regenerate them. If you edit the...
分类:
其他好文 时间:
2015-05-12 12:55:50
阅读次数:
158
lvs中文是linux的虚拟服务器
lvs三种负载均衡技术
lvs nat技术原理
lvs dr技术原理(直接路由 directory route)
lvs ip-tun技术原理(ip隧道)
三种负载均衡的优缺点
标准:OSI七层模型
交换机的工作原理:
包含多个mac地址和端口
把数据 发送广播 广播只能在自己的网段...
分类:
其他好文 时间:
2015-05-11 22:08:12
阅读次数:
202
为了将数据存入文件或从文件获取出来,你需要用到的类在System.IO命名空间中。这些类包括了表示磁盘上某个文件的File类,以及表示目录的Directory类(在Windows中也被称为文件夹)。 Directory类暴露了用于创建、移动和浏览目录的静态方法。Directory类的所有方法都...