发布时间:2014-12-03 15:02:40
https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-nginx-for-ubuntu-12-04How To Create a SSL Certificate on nginx for Ubuntu 12.04About Self-Signed CertificatesA SSL certificate is a way to encrypt a site's information and create a more secu.........【阅读全文】
发布时间:2014-09-27 15:30:54
做android对大图片加载常会出现out of memory,其实在这么小的屏幕上可以不要这么高精度而大的图。下面引用google的android文档中的方法,也是最好的方法了点击(此处)折叠或打开public static int calculateInSampleSize(&n.........【阅读全文】
发布时间:2014-08-25 12:33:33
可以先用eclipse->android tools- >export unsigned application package导出没有签名的包如果是java7,那么要加上这个参数-sigalg SHA1withRSA -digestalg SHA1,不然签名后还是无法安装。jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore xxx.keystore -signedjar out.apk in_unsigned.apk ......【阅读全文】
发布时间:2014-08-11 14:43:53
点击(此处)折叠或打开#!/usr/bin/expectset _pwd [lindex $argv 1]set _gpg_file [lindex $argv 0]set _text_file "leco_gpg.txt";spawn gpg -o "$_text_file" "$_gpg_file"expect {"Enter passphras.........【阅读全文】