Chinaunix首页 | 论坛 | 博客
  • 博客访问: 834229
  • 博文数量: 182
  • 博客积分: 1992
  • 博客等级: 上尉
  • 技术积分: 1766
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-18 11:49
文章分类

全部博文(182)

文章存档

2019年(1)

2016年(5)

2015年(29)

2014年(38)

2013年(21)

2012年(36)

2011年(52)

我的朋友

发布时间: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.........【阅读全文】

阅读(1139) | 评论(0) | 转发(0)

发布时间:2014-09-27 15:30:54

做android对大图片加载常会出现out of memory,其实在这么小的屏幕上可以不要这么高精度而大的图。下面引用google的android文档中的方法,也是最好的方法了点击(此处)折叠或打开public static int calculateInSampleSize(&n.........【阅读全文】

阅读(732) | 评论(0) | 转发(0)

发布时间:2014-09-22 15:01:35

Exception: Input length must be multiple of 8 when decrypting with padded cipher点击(此处)折叠或打开public static String encryptToDES(String info) {        SecretKey key = createSecretKey("DES", KEY); &n.........【阅读全文】

阅读(1025) | 评论(0) | 转发(0)

发布时间: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 ......【阅读全文】

阅读(996) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(1004) | 评论(0) | 转发(1)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册