C#中可以用XmlDocument类操作Xml文件
例如要读取如下Xml文件
25
56
程式如下
XmlDocument doc = new XmlDocument();
doc.Load("config.xml"); //加载Xml文件
XmlElement rootEle...
分类:
其他好文 时间:
2014-06-05 12:31:15
阅读次数:
232
This article shows my process of installing and configuring bind9 DNS server on a linux server. I didn't touch every aspects of bind9, but following the process, a DNS server is configured with A/AAAA...
分类:
系统相关 时间:
2014-06-05 08:36:26
阅读次数:
450
Mask(遮罩)效果,就是在页面还没有完全显示出来之前, 加上一个转装转的效果。
类似:
添加这样的效果有两个好处:
1. 在页面没完全show出来之前, 把后面的页面给遮罩起来, 防止进行一些非法的操作。
2. 如果页面show出来的时间比较长的话, 可以暂时吸引用户的注意力(也就是提高 User Experience).
在Extjs 中, Ext js 的使用方式有多种。
你有可能会发现为什么有的状况下load mask 不出现? 且听下面一一道来。。。...
分类:
Web程序 时间:
2014-06-05 07:56:00
阅读次数:
490
版本:2.6.33.4
发送端 tcp_write_xmit 函数
/* This routine writes packets to the network. It advances the
* send_head. This happens as incoming acks open up the remote
* window for us.
*
* LARGESEND no...
分类:
其他好文 时间:
2014-06-05 04:15:28
阅读次数:
236
第一次使用session,需要:
$this->load->library('session');
的同时,还需要修改配置文件:config.php 找到 $config['encryption_key'] = ‘’
将$config['encryption_key'] 的内容随便设置,就可以用了。
附录:
1.添加session内容:
$this->session->set_us...
分类:
其他好文 时间:
2014-06-05 01:18:12
阅读次数:
201
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2676
大致题意:给出一个带权无向图,每条边有一个边权wi,求将S和T分开的一个割边集C,使得该割边集的平均边权最小,即最小化∑wi / |C| 。
详见amber关于最小割模型的论文
思路:amber论文中详细讲解了如何转化成函数及建图,值得注...
分类:
Web程序 时间:
2014-06-04 21:40:43
阅读次数:
401
我曾经为Mozilla Developer
Network开发一个新功能,它需要加载一个基本的脚本文件的同时加载一个JSON请求。因为我们使用的是jQuery,意味着要使用
jQuery.getScript和jQuery.getJSON。我知道这两者都是异步的并返回一个Deferred(jQue.....
分类:
Web程序 时间:
2014-05-31 17:48:06
阅读次数:
213
将附件db_autopwn.rp
拷贝到/opt/framework3/msf3/plugins/PS:db_autopwn.rp下载地址:http://dl.vmall.com/c04w8czlcj1msf
> load db_autopwn2[*] Successfully loaded plu...
分类:
数据库 时间:
2014-05-31 15:55:07
阅读次数:
340
1.BT5默认用户名:root.密码:toor(公司是yeslabccies)2.进入图形化界面命令:startx3.更改密码:sudo
passwd
root扫描工具第一部分网络配置:4.网络配置文件有两个:/etc/network/interfaces和/etc/resolv.conf前一个存放...
分类:
其他好文 时间:
2014-05-31 08:00:19
阅读次数:
685