1、表单过滤器 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http:// ...
分类:
Web程序 时间:
2016-12-04 20:48:23
阅读次数:
238
题目链接:http://poj.org/problem?id=2631 题意:给出一棵树的两边结点以及权重,就这条路上的最长路。 思路:求实求树的直径。 这里给出树的直径的证明: 主要是利用了反证法: 假设 s-t这条路径为树的直径,或者称为树上的最长路 现有结论,从任意一点u出发搜到的最远的点一定 ...
分类:
其他好文 时间:
2016-12-04 20:35:16
阅读次数:
283
一、简述 mac(Message Authentication Code,消息认证码算法)是含有密钥散列函数算法,兼容了MD和SHA算法的特性,并在此基础上加上了密钥。因此MAC算法也经常被称作HMAC算法。关于hmac算法的详情可以参看RFC 2104(http://www.ietf.org/rf ...
分类:
编程语言 时间:
2016-12-04 20:31:03
阅读次数:
308
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4140 本来是要昨天来写这学习代码的,然后昨晚寝室又断电了,忍不住在这里吐槽一下,嗯,寝室天天断电。 题意 ...
分类:
其他好文 时间:
2016-12-04 20:10:06
阅读次数:
161
2. 实例代码 新建一个java工程,假设取名为HibernateHelloWorld。在src下新那一个package,可取名为com.sun.hibernate.model 2.1 类代码 新建一个简单的类,放在com.sun.hibernate.model包下。内容如下: ? 1 2 3 4 ...
分类:
其他好文 时间:
2016-12-04 19:47:15
阅读次数:
208
树莓派上安装ActiveMQ和在其它Linux发行版基本相同,只是在开防火墙端口时有区别。 硬件信息: 树莓派3B型,Raspbian系统 安装 //下载ActiveMQ安装包 http://activemq.apache.org/download.html wget http://apache.f ...
分类:
其他好文 时间:
2016-12-04 19:37:48
阅读次数:
211
一、搭建环境与测试 1、web.xml文件,配置核心Filter 1: 2: 7: 8: struts2 9: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter 10: 11: 12: struts2 13: ... ...
分类:
其他好文 时间:
2016-12-04 19:25:06
阅读次数:
279
Linux基础命令大全:http://man.linuxde.net/http://ganquan.info/linux/rpm包下载参考地址http://rpm.org/download.html
http://rpmfind.net/
http://rpm.pbone.net/
分类:
其他好文 时间:
2016-12-04 17:41:15
阅读次数:
155
NTP服务器配置OS:CentOS6.7_x64目前可参看的NTP服务器列表:区域[zone]域名[Domain]IP池[IPPool]中国[China]cn.ntp.org.cn[202.108.6.95][202.112.29.82][110.75.190.198][115.28.122.198][182.92.12.11][120.25.108.11][110.75.186.249][110.75.186.248][110.75.186.247]中国..
分类:
其他好文 时间:
2016-12-04 17:41:10
阅读次数:
279
sCentOSdownloadhttp://mirrors.163.com/centos/7.0.1406/isos/x86_64/CentOS-7.0-1406-x86_64-Everything.isohttp://mirrors.163.com/centos/7/isos/x86_64/http://isoredirect.centos.org/centos/7/isos/x86_64/http://isoredirect.centos.org/centos/6/isos/x86_64/http://m..
分类:
系统相关 时间:
2016-12-04 17:40:10
阅读次数:
530