当页数比较多的时候我们需要加一个input框来跳转到某一分页中,比如这个框 id="tiaozhuan",接下来我们用JS实现跳转 //分页跳转
$("#tiaozhuan").bind("blur",function(){
var p = $(this).val();
var href = lo...
分类:
Web程序 时间:
2014-07-26 03:40:57
阅读次数:
264
1.lo 网卡配置IP时,掩码必须使用主机掩码,即255.255.255.255。 可能出现的故障:如果配置成255.255.0.0网段的掩码,会导致重启网卡后默认路由绑定到lo网卡上。同时本机ping任何ip均显示联通ssh到任何ip其实都连...
分类:
系统相关 时间:
2014-07-26 03:40:07
阅读次数:
211
最大流问题。
睡醒了,继续找个网络流的简单题来熟练。跟上一个一样。弧容量要加起来。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define INF 0x7fffffff
#define eps 1e-6
#define LL lo...
分类:
其他好文 时间:
2014-07-26 02:57:27
阅读次数:
214
折半查找也就是二叉查找,其查找时间复杂度为O(logn),比顺序查找的效率高得多,唯一的要求就是待查表已经有序。1、等值折半查找比较简单,算法如下:def binarySearch(data,value): low = 0 high = len(data) - 1 while lo...
分类:
其他好文 时间:
2014-07-26 00:50:56
阅读次数:
213
(1)开关结点初始化 ??? 这时选择的节点类型是终端节点,所以使用f8wEndev.cfg文件,所以在Zglobals.h文件中,我们可以得到下面的定义 #define ZG_DEVICETYPE_ENDDEVICE ?????? 0x02 #define DEVICE_LO...
分类:
移动开发 时间:
2014-07-25 00:05:34
阅读次数:
360
1、监控进程/usr/local/zabbix/bin/zabbix_get-s127.0.0.1-k“net.tcp.service[http]”2、监控端口/usr/local/zabbix/bin/zabbix_get-s127.0.0.1-k“net.tcp.port[,80]”结果:1存在,0不存在;3、进程数量/usr/local/zabbix/bin/zabbix_get-s127.0.0.1-k“proc.num[]”/usr/lo..
分类:
其他好文 时间:
2014-07-24 23:47:34
阅读次数:
362
查看接口信息 ifconfig (-a 所有 / eth0 查看特定网卡)lo接口:环回接口,操作系统自带打开关闭相应网卡接口 ifup ifdown (ifup eth0)setup命令配置 (基于命令行的文本界面),想windows配置一样,填空 (redhat only? my ubunt.....
分类:
系统相关 时间:
2014-07-24 21:35:02
阅读次数:
288
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example, Given [100, 4, 200, 1, 3, 2], The lo...
分类:
其他好文 时间:
2014-07-24 00:49:07
阅读次数:
200
spring+struts(第一种方案)
集成原理:在Action中取得BeanFactory,通过BeanFactory取得业务逻辑对象
一,新建一个项目Spring_Struts_01,项目结构如下
国 UserManager 」 ava > 国 UserMangerImpl 」 ava 实 现 combpowernode usermgr web.actlons > 1 刂 Lo...
分类:
编程语言 时间:
2014-07-23 17:20:01
阅读次数:
397
通过GoldenGate Veridata 12.3,现在只需要一键点击即可修复数据复制后不一致的数据。通过比较数据,Veridata可修复两个数据库之间的数据。Veridata修复的范围包括GoldenGate, Oracle Data Integrator, Oracle Streams, Lo...
分类:
数据库 时间:
2014-07-23 14:47:16
阅读次数:
491