会动的耳朵  
上一页 1 2 3 4 5 6 ··· 8 下一页

2014年12月24日

摘要: ios 使用public_key.der加密php 使用 private_key.pem解密openssl req -x509 -out public_key.der -outform der -new -newkey rsa:1024 -keyout private_key.pemphrase:c... 阅读全文
posted @ 2014-12-24 10:49 会动的耳朵 阅读(299) 评论(0) 推荐(0) 编辑

2014年12月12日

摘要: utf8编码中文preg_match("/^[\x{4e00}-\x{9fa5}]+$/u") 而不是"/^[\x4e00-\x9fa5]+$/u" 阅读全文
posted @ 2014-12-12 15:50 会动的耳朵 阅读(118) 评论(0) 推荐(0) 编辑

2014年11月26日

摘要: yum install zlib-devel bzip2-devel pcre-devel openssl-devel ncurses-devel参照:http://www.cnblogs.com/xiongpq/p/3381069.html 阅读全文
posted @ 2014-11-26 21:51 会动的耳朵 阅读(175) 评论(0) 推荐(0) 编辑

2014年11月19日

摘要: http://rehorn.github.io/livepool/ 阅读全文
posted @ 2014-11-19 12:31 会动的耳朵 阅读(173) 评论(0) 推荐(0) 编辑

2014年9月21日

摘要: 图片预览 $('#pac_recipe').change(function() { var imgsrc = ''; if(this.files && this.files[0]) { //chrome firefox imgsrc = win... 阅读全文
posted @ 2014-09-21 22:59 会动的耳朵 阅读(154) 评论(0) 推荐(0) 编辑
 
摘要: flash上传跨域,一般是加入crossdomain.xml我用了别人的图片服务器,只能做此下策: //CURLFile 实现 $file = $_FILES['Filedata']['tmp_name']; // get mime type $finfo ... 阅读全文
posted @ 2014-09-21 21:49 会动的耳朵 阅读(266) 评论(0) 推荐(0) 编辑

2014年9月19日

摘要: docker的原理和特点可以参照百度百科http://baike.baidu.com/view/11854949.htm昨天听到光照说docker技术实现,既然可以轻量虚拟,是否可以多个虚拟出分布式服务?找机会验证下 阅读全文
posted @ 2014-09-19 11:59 会动的耳朵 阅读(183) 评论(0) 推荐(0) 编辑

2014年7月18日

摘要: 在index.php的第97和98行的注释, // The directory name, relative to the "controllers" folder. Leave blank // if your controller is not in a sub-folder within t... 阅读全文
posted @ 2014-07-18 15:51 会动的耳朵 阅读(149) 评论(0) 推荐(0) 编辑

2014年6月25日

摘要: 生成私钥:openssl genrsa 1024 > private.key(注意,1024是密钥的长度,如果密钥较长,相应加密后的密文也会较长)生成公钥:openssl rsa -in private.key -pubout > public.key使用php的openssl 的函数加密和解密即可 阅读全文
posted @ 2014-06-25 15:11 会动的耳朵 阅读(170) 评论(0) 推荐(0) 编辑

2014年6月11日

摘要: archlinux packages 官方沒有提供 mysql-workbench的直接安裝包在aur裏面可以找到,使用yaourt -S mysql-workbench這裏有個依賴ctemplate,從googlecode svn 直接checkout但是因爲最近GFW飯神經,久久不成功。最後,只... 阅读全文
posted @ 2014-06-11 23:17 会动的耳朵 阅读(680) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页