近日有个项目需要显示周几,一开始是这样写的//日期var dateObj = new Date().find('.sign_date').html((dateObj.getMonth() + 1) + '/' + dateObj.getDate()).end().find('.sign_week')...
分类:
其他好文 时间:
2014-07-23 15:22:46
阅读次数:
185
Abstract 1: DHCPv6 offers the capability of automatic allocation of reusable network addresses and additional configuration flexibility. 2: DHCPv6 i.....
分类:
其他好文 时间:
2014-07-23 15:22:36
阅读次数:
260
B. Claw DecompositionTime Limit: 1000msMemory Limit: 131072KB64-bit integer IO format:%lld Java class name:MainA claw is defined as a pointed curved n...
分类:
其他好文 时间:
2014-07-23 15:22:06
阅读次数:
268
多核时代不宜再用 x86 的 RDTSC 指令测试指令周期和时间陈硕Blog.csdn.net/Solstice自从 Intel Pentium 加入 RDTSC 指令以来,这条指令是 micro-benchmarking 的利器,可以以极小的代价获得高精度的 CPU 时钟周期数(Time Stam...
分类:
编程语言 时间:
2014-07-23 15:21:56
阅读次数:
347
小伙伴要在以前的服务器上装个代码版本控制的软件,要用到数据库,可是想来找去root密码还是忘了,其他已经安装的服务都是用的专用账户配置文件里要找不到root用户的密码。用以下方法将密码强制修改掉:1. 将mysql服务以安全模式方式运行,需要系统root权限sudo suservice mysql ...
分类:
数据库 时间:
2014-07-23 15:21:26
阅读次数:
234
一、WebService中添加session管理代码,用到了MessageContext类和ServiceContext类。代码如下: package com.hoo.service;import org.apache.axis2.context.MessageContext;import org....
分类:
Web程序 时间:
2014-07-23 15:20:06
阅读次数:
239
所需要的参数: $secret_key, $bind_address = '127.0.0.1', $cache_server_ip = '127.0.0.1', $cache_server_port = '11211', $swift = false, $quantum = false, $pac...
分类:
其他好文 时间:
2014-07-23 15:19:26
阅读次数:
315
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4857解题报告:有n个点,有m个条件限制,限制是像这样的,输入a b,表示a必须排在b的前面,如果不能确定两个数谁排在前面则尽量把小的排在前面。首先把出度为0的点加入到优先队列中,然后每次用优先队列中弹出...
分类:
其他好文 时间:
2014-07-23 15:18:56
阅读次数:
212
最近做一个合作项目,对方要求我们做一个web应用程序,然后嵌入到他们的总的wen应用中,风格要求保持一致,于是乎就发了一个html文件过来,大概列举了一下各种控件,对话框的效果。 好了,重点说其中的一个弹出插件,其源码为:(function($) { $('a[data-reve...
分类:
Web程序 时间:
2014-07-23 15:18:46
阅读次数:
237
SquareInput:Standard InputOutput:Standard OutputGivennintegers you can generate2n-1non-empty subsets from them. Determine for how many of these subset...
分类:
其他好文 时间:
2014-07-23 15:17:56
阅读次数:
292