`
文章列表
"PHP message: OAuthException: Error validating access token: Session has expired at unix time 1374630673. The current unix time is 1387065898" while reading response header from upstream, client: 111.160.53.128, server: xxx.com, request: "POST /action/SnsShareAction.php
  模拟最差情况 1.假如现在replica set中一共就2个节点,一个是primary member,另外一个是second        member     如果primary出现故障,(not reachable/healthy),这时候,second依旧是seconde,     只能提供读的操作。如果重启primary membe ...
http://wenku.baidu.com/view/3828ab166edb6f1aff001f1b.html http://m.blog.csdn.net/article/details?id=50777329 http://m.oschina.net/question/234345_48642
http://my.oschina.net/169/blog/158976 http://www.tuicool.com/articles/iei6n2 http://dadloveu.blog.51cto.com/715500/787517 http://blog.nosqlfan.com/html/3944.html http://www.boyunjian.com/do/article/snapshot.do?uid=net.csdn.blog%2Fedwzhang%2Farticle%2Fdetails%2F8307618 http://www.itpub.net/threa ...
第一步:下载安装所需文件 http://redis.io/download wget http://redis.googlecode.com/files/redis-2.6.13.tar.gz http://www.tcl.tk/software/tcltk/download.html wget http://prdownloads.sourceforge.net/tcl/tcl8.6.0-src.tar.gz https://github.com/nicolasff/phpredis wget https://github.com/nicolasff/phpredis/archive/mast ...
进入MongoDB下载中心:http://www.mongodb.org/downloads We recommend using these binary distributions (官方推荐使用二进制版本!) 根据自己的实际系统环境,下载所要的文件,我的是Linux 64-bit. 1 wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.2.3.tgz http ...
在多台后台服务器的环境下,我们为了确保一个客户只和一台服务器通信,我们势必使用长连接。使用什么方式来实现这种连接呢,常见的有使用nginx 自带的ip_hash来做,我想这绝对不是一个好的办法,如果前端是CDN,或者说一个 ...
查看了一下nginx的error.log日志文件,发现有很多像下面这样的报错: 1 2012/10/20 20:32:28 [crit] 10860#0: accept() failed (24: Too many open files) 2 2012/10/20 20:32:28 [crit] 10860#0: accept() failed (24: Too many open files) 3 2012/10/20 20:32:29 [crit] 10860#0: accept() failed (24: Too many open files)   一看就知道系统对打开文件 ...
https://www.budgetvm.com/linux-vps.php

Amazon aws

                                                                                                        ESS (Amazon Simple Email Service) SMTP Settings:Create My SMTP Credentials,创建smtp邮件服务认证,获取 SMTP password 这个在通过api应用时用到。 Email Addresses: 如果api调用时,是需要回复的的真实的email地址,这里必须要通过email地址验证 Verifi ...
采用JavaScript来控制iframe元素的高度是iframe高度自适应的关键,同时由于JavaScript对不同域名下权限的控制,引发出同域、跨域两种情况。 由于客户端js使用浏览器的同源安全策略,跨域情况下,被嵌套页面如果想要获取和修改父页面的DOM属性会出现权限不足的情况,提示错误:Permission denied to access property 'document'。这是因为除了包含脚本的文档载入的主机外,同源策略禁止客户端脚本链接到其他任何主机或者访问其他任何主机的数据。这意味着访问一个web服务的javascript代码通常只有在它也驻留在Web服务本身所在的同一个服务器 ...
<input id="a" name="test" value="aaaaaaaaaaaaaaaaaabbb2aaaaaaaaaaaaaaaaaabbb2aaaaaaaaaaaaaaaaaabbb2aaaaaaaaaaaaaaaaaabbb2"><input> <script>     var obj;     var val;     var len;     var start = 0;     (function m1(){         obj=document.getElementById ...
引用 yum -y install openssl /usr/local/bin/是php的安装目录 切换到php安装目录的etx/openssl目录 cd /root/soft/php-5.2.8/ext/openssl 引用 /usr/local/bin/phpize Cannot find config.m4. Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module 查看openssl目录下有个config.w32和config0.m4,把conf ...
import java.util.BitSet;    public class BloomFilter   {      /*  BitSet初始分配2^24个bit  */       private static final int DEFAULT_SIZE = 1 << 25;       /* 不同哈希函数的种子,一般应取质数 */      private static final int[] seeds = new int[] { 5, 7, 11, 13, 31, 37, 61 };      private BitSet bits = new Bit ...
引用 yum -y install openssl /usr/local/bin/是php的安装目录 切换到php安装目录的etx/openssl目录 cd /root/soft/php-5.2.8/ext/openssl 引用 /usr/local/bin/phpize Cannot find config.m4. Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module 查看openssl目录下有个config.w32和config0.m4,把conf ...
Global site tag (gtag.js) - Google Analytics