Author Archives: coder4

[转]三星GS4(Android 4.3)上webview crash问题

转载自:http://faywong.github.io/posts/2015-01-15-03.html

最近发现客户端中android4.3上GS4手机上的WebApp应用特别容易crash。分析了源代码之后发现,在ActivityThread中回收内存时会调用EGLImpl里边去,回收RenderThread,进而调用到计算CPU FPS的逻辑,进而crash:
java.lang.Error: signal 11 (Address not mapped to object) at[......]

继续阅读

[转] iOS Provisioning Profile(Certificate)与Code Signing详解

转载自:
iOS Provisioning Profile(Certificate)与Code Signing详解
引言
        关于开发证书配置(Certificates & Identifiers & Provisioning Profiles),相信做 iOS 开发的同学没少被折腾。对于一个 iOS 开发小白、半吊子(比如像我自己)抑或老兵,或多或少会有或曾有过以下不详、疑问、疑惑甚至困惑:

  1. 什么是App ID?Explicit/Wildcard[......]

    继续阅读

如何为Nginx配置Comodo Positive SSL证书

最近从代理买了个Comodo Positive SSL证书,好便宜,才4.99刀/年,多年付还能继续优惠。。。

讲讲安装和配置的方法。

1、生成CSR

购买之前,先要生成CSR 文件 (Certificate Signing Request),可以在你的服务器上操作(如果安装了OpenSSL的话)
openssl req -new -newkey rsa:2048 -nodes -keyout example_com.key -out example_com.csr
会生成[......]

继续阅读