1 使用/Applications/Utilities/Keychain Access.app创建证书 钥匙串访问->证书助理->创建证书 给证书随笔取一个名字,身份类型“自签名根证书”,证书类型“代码签名”,勾选“让我覆盖...”。 一路确定,到“指定用于该证书的位置”,选择“系统”。创建,然后就 ...
分类:
数据库 时间:
2017-01-23 19:13:15
阅读次数:
239
适合Centos Web服务器的iptables规则IPT="/sbin/iptables"$IPT --delete-chain$IPT --flush$IPT -P INPUT DROP $IPT -P FORWARD DROP $IPT -P OUTPUT DROP $IPT -A INPUT ...
分类:
Web程序 时间:
2017-01-22 13:56:39
阅读次数:
200
安装nginx [root@xuegod64 ~]# yum install -y gcc gcc-c++ autoconf automake zlib zlib-devel openssl openssl-devel pcre-devel //zlib:给Nginx提供gzip模块,需要的支持;O ...
分类:
其他好文 时间:
2017-01-22 11:52:47
阅读次数:
575
Just like in the command line, you can pipe a property through a filter to get a desired result. You can even chain them together! ...
分类:
Web程序 时间:
2017-01-20 20:29:28
阅读次数:
491
今天运行这个命令时报错dockerrun-it--nameHaproxy--linkapp1:app1--linkapp2:app2-p6302:6301-v~/Projects/HAProxy:/tmphaproxy/bin/bash报错信息:docker:Errorresponsefromdaemon:failedtocreateendpointHaproxyonnetworkbridge:iptablesfailed:iptables--wait-tnat-ADOCKER..
分类:
其他好文 时间:
2017-01-16 23:11:31
阅读次数:
5032
Run Dr.memory on visual c++ 2013 详细检查项目 Dr. Memory's behavior can be controlled through options passed to drmemory prior to the "--" delimiter. Boolea ...
分类:
其他好文 时间:
2017-01-11 12:51:09
阅读次数:
219
背景:基于call客,来电和跟进记录等多个数据来源的用户文档,需要在更新是判断首来源的时间。 如对电话号码11xxxx来说,来电时间是今天,call客时间是昨天,而call客数据又可能因为网络原因晚上传上来,这样一来11xxxx这个用户document的来源时间需要更新成昨天。 分析:solr的默认... ...
分类:
其他好文 时间:
2017-01-10 13:05:56
阅读次数:
232
如果要更加深入的了解闭包以及函数a和嵌套函数b的关系,我们需要引入另外几个概念:函数的执行环境(excution context)、活动对象(call object)、作用域(scope)、作用域链(scope chain)。以函数a从定义到执行的过程为例阐述这几个概念。 到此,整个函数a从定义到执 ...
分类:
其他好文 时间:
2017-01-08 14:02:21
阅读次数:
175
1、 对象的链式调用 function Chain(){ this.n=0;//属性不一定一开始的时候全部都要初始化 this.fn1=function(_obj){//this指向 new Chain()实例化的对象 alert(this.n++);//注意:alert(this.n++)与thi ...
分类:
其他好文 时间:
2017-01-07 22:37:40
阅读次数:
239