微信内嵌H5站一直很火,很多公司也想借助微信的用户群和社交群来做点事情,所以对于各位代码君来说也算是一个研究方向吧。access_token是公众号的全局唯一票据,公众号调用各接口时都需使用access_token。开发者需要进行妥善保存。access_token的存储至少要保留512个字符空间。a...
分类:
微信 时间:
2015-06-08 00:55:15
阅读次数:
305
LANP+KEEPALIVED集群(二)#基于不同域名server{listen80;server_namenginx.postfix.local;charsetutf-8;access_loglogs/domain.logmain;location/{roothtml/domain;indexdomain.html;}error_page500502503504/50x.html;location=/50x.html{roothtml;}}#图示,访问nginx.postfi..
分类:
其他好文 时间:
2015-06-06 23:44:49
阅读次数:
179
In Greece, people with disabilities are often heavily stigmatized. The BBC has gained access to one state-run care home where some disabled children a...
分类:
其他好文 时间:
2015-06-06 13:27:33
阅读次数:
91
cat access.log|awk '{print $0}'|sort|uniq -c|sort -nr|head -n 10
分类:
Web程序 时间:
2015-06-05 19:30:59
阅读次数:
108
Well, since I have no access to this problem, I only obtain it from the internet. My understanding of this problem is to return the actual number of c...
分类:
其他好文 时间:
2015-06-05 17:10:00
阅读次数:
234
webservice 协议 Web Service使用的是 SOAP (Simple Object Access Protocol)协议soap协议只是用来封装消息用的。封装后的消息你可以通过各种已有的协议来传输,比如http,tcp/ip,smtp,等等,你甚至还一次用自定...
分类:
Web程序 时间:
2015-06-05 09:53:37
阅读次数:
101
导读LDAP(轻量级目录访问协议,Lightweight Directory Access Protocol)是实现提供被称为目录服务的信息服务。目录服务是一种特殊的数据库系统,其专门针对读取,浏览和搜索操作进行了特定的优化。目录一般用来包含描述性的,基于属性的信息并支持精细复杂的过滤能力。目录一般...
分类:
编程语言 时间:
2015-06-04 22:27:19
阅读次数:
353
今天用Druid做数据源,在网上复制Druid配置文件,结果每个配置项后面有好多空格,导致死也连不上数据库,每次连接都报Accessdeniedforuser‘test‘@‘10.1.28.6‘(usingpassword:YES)在确认配置参数无误后,删除个配置项后面的空格,重启服务器,问题就解决了。特意在这里吐槽一下。
分类:
数据库 时间:
2015-06-04 17:26:32
阅读次数:
153
配置hive全分布模式时候,在mysql里面创建用户:create user ‘hive’ identified by ‘hive’;
然后给hive帐号分配所有权限:
grant all privileges on . on ‘hive’ with grant option;结果出现了Access denied for user ‘root’@’%’。后来我先创建数据库hive:create...
分类:
数据库 时间:
2015-06-04 15:43:11
阅读次数:
152
Provider根据实际EXCEL的版本来设置,推荐使用ACE接口来读取。需要Access database Engine。注意修改注册表以下两项的值为0。否则导入EXCEL当单元格内字符长度超过255会发生截断现象!!!HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\O...