自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 redis集群问题及解决

工具1.安装vimyum -y install vim*2.安装rvmcurl -L get.rvm.io | bash -s stable --ruby如果报错gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3curl -L get.

2016-12-28 09:24:49 666

转载 Redis集群部署文档(centos6系统)

(要让集群正常工作至少需要3个主节点,在这里我们要创建6个redis节点,其中三个为主节点,三个为从节点,对应的redis节点的ip和端口对应关系如下)127.0.0.1:7000       127.0.0.1:7001127.0.0.1:7002127.0.0.1:7003127.0.0.1:7004127.0.0.1:7005 1:

2016-12-28 09:20:15 368

原创 笔记而已

function response(){$.ajax({type:"post",url:"${pageContext.request.contextPath}/jsonTest.action",contentType:"application/json;charset=utf-8",data:'{"username":"周振均","address":"798"}',befo

2016-07-05 22:10:26 332

原创 获得json数据

//获取订单信息Orders orders =ordersService.getById(model.getId());//连接物流接口String uri= "http://apis.haoservice.com/lifeservice/exp?"+"key=ef75f10b381c40038128e5cfd6e3c7a4" +""+"&com="+orders.getW

2016-07-05 19:50:11 439

转载 JS时间(日期)比较或相减

JS时间(日期)比较或相减  :此文均来自网上,可行,只供参考//JAVASCRIPT中 日期相减很麻烦 ,现在有现成的实现方法,拷贝过去就可以用了,方便//调用该方法(主方法) function dateDiff(date1, date2){     var type1 = typeof date1, type2 = typeof date2; 

2016-05-11 10:45:11 701

转载 js定时器(执行一次、重复执行)

1,只执行一次的定时器 复制代码 代码如下: //定时器 异步运行 function hello(){ alert("hello"); } //使用方法名字执行方法 var t1 = window.setTimeout(hello,1000); var t2 = window.setTimeout("hello()",3000);//使用字符串执行方法

2016-05-11 10:41:03 4907

转载 An error occurred at line: 307 in the generated java file The code of method _jspService (HttpServle

It is possible that after an upgrade you may encounter this error on some of the more complex pages of Asset Bank, such as the Asset Detail page. If you see a stack trace on the screen the same as the

2016-05-03 10:46:34 2025

转载 spring定时器

用到了spring的定时任务的功能,网上查资料,并且实际运用了一下,觉得spring还是很智能化的,只需要配置一下配置文件就可以了,下面的这篇文章我觉得还是很好的,摘录下来,供以后参考用 package util;import org.apache.log4j.*;public class TaskJob {       public static Logger log = Log

2016-03-04 11:03:23 300

原创 关于获得html页面的坐标

方法1.用JavaScript获取document.onmouseover=function(event){var node=document.getElementById("div1");x=event.clientX;y=event.clientY;if(y+0>100){node.className="open";}else{node.className="c

2016-01-10 15:40:28 1963

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除