- 博客(10)
- 收藏
- 关注
原创 Ambari hbase默认配置,java调用api后zookeeper日志出现EndOfStreamException
EndOfStreamException: Unable to read additional data from client 主要原因为Ambari中hbase的默认配置中zookeeper.znode.parent=/hbase-unsecure,但api中默认该属性为/hbase,导致zookeeper访问错误,需要修改zookeeper.znode.parent=/hbase...
2016-11-16 13:22:33
1217
原创 JavaScript前端md5加密
JavaScript前端md5加密能够减轻服务器端的负担,但是如果用户浏览器如果禁用JavaScript的就是引起数据的不一致,所以可以限制密码的位数来判断是否加密.如果传给服务器的是16或32位的服务器端就不加密了. MD5 加密有32位 16位的,16位就是32位的中间16位...
2010-05-21 20:30:44
422
原创 c#的md5加密
public string md5(string str, int code) { if (code == 16) //16位MD5加密(取32位加密的9~25字符) { return System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile...
2010-05-21 20:24:04
127
毕业设计QT步骤
基本命令tar zxvf file..tar.gztar jxvf file.tar.bz2方法一:./configuremakemake install方法二:./configure --prefix=/路径make ; make install方法三:./configure --enable-static-link \--prefix=$XXX/static --with-curses &am...
2010-04-23 19:42:32
371
google首页动画效果
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><
2010-04-17 11:56:28
81
图片轮换效果
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-eq
2010-04-17 11:53:38
87
Google 地图 API 初级使用
一.一般查看地图可以直接在google地图找到该位置再到右上角点击分享链接中可以直接复制二.但对于复杂的应用还是得自己写 下面是一个简单的示例 首先注册一个google帐号,http://code.google.com/intl/zh-CN/apis/maps/signup.html随后在上述地址上面生成对应的Key,比如我们得到的Key为ABQIAAAAhrsyA85kX5...
2010-04-17 11:43:09
68
asp.net中datagridview查询后编辑问题
我们在用SqlDataSource1.SelectCommand进行查询时候后再编辑查询结果时老是返回到第一次的那个页面,这是因为查询状态没保存在事件加上session用于保存状态Session["sql"] = "select * from employee ";在Page_Load事件中再绑定状态object sqlcmd = Session["sql"];if (...
2009-07-26 17:22:12
271
Microsoft.XMLHTTP对象破坏了链接的target的问题
function gourl(url){parent.window.frames['指定的框架名'].location.href=url;}
2009-05-28 15:39:13
86
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人