----struts2.1.8---- struts2-core-2.1.8.1.jar struts2核心包struts2-json-plugin-2.1.8.1.jar struts2的json插件--var s = {name:"zhangs",age:"18"}struts2-s...
分类:
编程语言 时间:
2014-06-18 22:18:46
阅读次数:
274
BACKGROUNDProcessor power consumption has become a major issue in recent years. The current trend of processor design to multi-core architecture as ea...
分类:
其他好文 时间:
2014-06-18 22:16:54
阅读次数:
435
You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?public class Soluti...
分类:
其他好文 时间:
2014-06-18 21:54:54
阅读次数:
232
在进行页面的DIV+CSS排版时,遇到IE6(当然有时Firefox下也会偶遇)浏览器中的图片元素img下出现多余空白的问题绝对是常见的,对於该问题的解决方法也是「见机行事」,根据原因的不同要用不同的解决方法,这里把解决直接把解决image图片布局下边的多余空隙的BUG的常用方法归纳, 供大家参考。...
分类:
其他好文 时间:
2014-06-18 21:51:03
阅读次数:
228
我也是之前都没有弄清楚nginx中的root关键词含义,正好看到一件介绍的,就转过来了location /img/ { alias /var/www/image/;}#若按照上述配置的话,则访问/img/目录里面的文件时,ningx会自动去/var/www/image/目录找文件locatio...
分类:
其他好文 时间:
2014-06-18 19:51:16
阅读次数:
209
Java代码 //压缩图片大小 public static Bitmap compressImage(Bitmap image) { ByteArrayOutputStream baos = new ByteArrayOutputStre...
分类:
移动开发 时间:
2014-06-18 17:59:12
阅读次数:
393
对于线程里面的异常,如果线程里面没有抓获异常会到导致整个进程crash。 这主要是由于每个线程有单独的异常栈,如果在线程内部没有抓获异常,CLR会把异常直接传到system core层,导致进程被kill掉。 这是可以使用ContinueWith()调用其它函数来继续执行,新执行的方法应该是...
分类:
编程语言 时间:
2014-06-18 16:52:15
阅读次数:
215
/// ///将图片Image转换成Byte[]//////image对象///后缀名///publicstatic byte[] ImageToBytes(Image Image,System.Drawing.Imaging.ImageFormat imageFormat){if(Image =....
分类:
其他好文 时间:
2014-06-18 16:27:29
阅读次数:
171
本文参考《Android系统源代码情景分析》,作者罗升阳
一、架构代码:
~/Android/frameworks/base/core/java/android/os
----IInterface.java (Interface)
----IServiceManager.java (IServiceManager)
-...
分类:
编程语言 时间:
2014-06-16 22:06:54
阅读次数:
281
今天添加微信分享的时候添加微信的静态文件和我以前添加的Core-Plot第三方库发生了冲突,
出现一大堆的 “Apple Mach -O Linker Error” ,
错误分析:
这次出现错误的原因是 Architectures不统一造成的,微信的APi要求用32位编译,而第三方库是包含了64位。
解决方法:
解决...
分类:
移动开发 时间:
2014-06-16 21:56:34
阅读次数:
297