openssl pkcs12-inCertificates.p12-outCertificates.pem-nodes需要通过终端命令将这些文件转换为PEM格式:openssl pkcs12 -clcerts -nokeys -out apns-dev-cert.pem -in apns-dev-c...
分类:
移动开发 时间:
2014-07-09 21:28:58
阅读次数:
251
《OOC》全名是《Object-oriented Programming with ANSI-C》,步步为营地讲述了作者用C来实现封装、继承、多态、异常处理和自动化工具的过程。这本书吸引我的理由如下: 我也研究过OOC的问题,想和作者对比对比,取长补短。 学习C实现异常处理try{}ca...
分类:
其他好文 时间:
2014-07-09 20:51:09
阅读次数:
197
//查询账单关联订单selecto.id as id,o.order_no as orderNo,o.case_no as caseNo,o.send_time as sendTime,o.final_time as finalTime,(select ca.car_no from fm_order...
分类:
数据库 时间:
2014-07-09 17:53:55
阅读次数:
259
Introduction to RedisRedis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys ca...
分类:
其他好文 时间:
2014-07-09 15:35:56
阅读次数:
211
前言
不得不说,最近接触的技术都是我不熟悉的领域,我自己也在边摸索边积累的过程中。
工具
主要用到两个反编译工具:dex2jar 和 jd-gui,下载地址如下:
dex2jar : https://code.google.com/p/dex2jar/downloads/list
jd-gui : http://jd.benow.ca/ (下载linux版本)
...
分类:
移动开发 时间:
2014-07-09 10:40:37
阅读次数:
241
步骤一:安装apache,使其支持SSL,并安装php1.安装配有SSL模块的apache,apache_2.2.8-win32-x86-openssl-0.9.8g2.配置apache以支持SSL:1)打开apache的配置文件conf/httpd.confLoadModulessl_modulemodules/mod_ssl.so
Includeconf/extra/httpd-ssl.conf去掉两行前面的#2)注意修..
《Think in java·第 6 章类再生》
读TIJ -1 对象入门 中已经就代码复用性吐槽了。继承关系在结果上(不是为了代码复用而设计继承关系)为代码复用提供了新的途径。
本章看其目录就比较杂,程序员的内聚思想去哪儿了?合成复用优先——合成、继承,为什么实现继承是不好的……
6.1 合成的语法
解释了一个例程,没有什么好说的。has_a关系。
6.2 继承的语法
【You ca...
分类:
其他好文 时间:
2014-07-08 18:01:33
阅读次数:
198
编译nginx-1.5.10一般需要以下库的支持:pcre,zlib,openssl
此次编译nginx-1.5.10使用的库版本分别为pcre-8.34;openssl-1.0.0l;zlib-1.2.8将这些看和nginx放在同一目录如下图
在nginx添加一个shell脚本文件runscript.sh
#!/bin/sh
BUILD_PATH=../release
CC_P...
分类:
其他好文 时间:
2014-07-08 15:50:03
阅读次数:
227
Implement atoi to convert a string to an integer.
Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input ca...
分类:
其他好文 时间:
2014-07-08 12:52:05
阅读次数:
200
最近在工作中需要开发一个Https接口,其不同于http、soap等协议,可以直接组织报文并发送,不存在加密,认证和获取密钥等安全操作。且之前开发的项目没有开发过这类接口,所以当时压力很大。通过网上查阅资料,要实现https接口,必须现在本机上安装openssl和curl(说明:只用op..
分类:
编程语言 时间:
2014-07-04 06:15:53
阅读次数:
362