摘要: 焦距,也称为焦长,是光学系统中衡量光的聚集或发散的度量方式,指从透镜中心到光聚集之焦点的距离。亦是照相机中,从镜片光学中心到底片、CCD或CMOS等成像平面的距离。(源自百度百科) 35mm相机的标准镜头的焦距约为28 ~ 77mm, 因此, 如果一个镜头的焦距高于77mm, 我们称之支持望... 阅读全文
posted @ 2013-01-22 23:16 moonsnow 阅读(461) 评论(0) 推荐(0) 编辑
摘要: 要学习摄影知识, 首先必须了解什么是135相机。 所谓135相机, 指的是使用135胶卷的相机, 135是一种胶卷的编号。指的是宽度为36mm, 高度为24mm的胶卷, 这种胶卷的高度和上下方形齿孔的总高度是35mm, 所以又称为35mm胶卷, 所以135相机又被称作35mm相机。 ... 阅读全文
posted @ 2013-01-22 22:41 moonsnow 阅读(403) 评论(0) 推荐(0) 编辑
摘要: Web中将图片居中, 且自动缩放至固定大小。 Image1Image2 阅读全文
posted @ 2012-03-09 10:56 moonsnow 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 通过如下css实现table中的cellpadding, cellspacing table { border-collapse:collapse; border-spacing:0; } th,td { padding: 0; } 阅读全文
posted @ 2011-07-29 16:21 moonsnow 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 一、基础 1. Android是个多用户系统 2. 默认情况下, Android为每个应用分配一个独立的用户名, 只有Android系统知道这个用户名, 应用系统本身并不知道, Android为这个用户分配应用所需的权限。 3. 每个应用运行在独立的VM中,所以不同的应用之间是无法无法访问的。... 阅读全文
posted @ 2011-05-22 13:22 moonsnow 阅读(124) 评论(0) 推荐(0) 编辑
摘要: ## App2SD adb shell pm setInstallLocation 2 ##Send SMS to Emulator telnet localhost 5554 sms send 10010 "Test message" ##Check the device mount t... 阅读全文
posted @ 2011-05-14 18:35 moonsnow 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 一段饶舌的代码, 只要搞明白了, 绝对会彻底明白Java中for语句的语法。 int i = 0; before: for (System.out.print("init value : "), System.out.println(i); i < 11; System.out .pr... 阅读全文
posted @ 2011-03-29 17:42 moonsnow 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 1,1 1,2 1,3 1,4 2,1 2,2 2,3 2,4 3,1 3,2 3,3 3,4 阅读全文
posted @ 2010-04-01 14:52 moonsnow 阅读(266) 评论(0) 推荐(0) 编辑
摘要: JBoss应用服务器提供几种不同的服务器配置。在/server目录下,你会找到五个子目录:minimal, default, standard, all 和web-每个对应一个服务器配置。每个配置提供一组不同的服务。如果启动服务器时没有指定其它的配置,那么默认将使用default配置。 m... 阅读全文
posted @ 2010-03-30 11:20 moonsnow 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 在Sun Tutorial中有这样一句话:The finally block always executes when the try block exits. This ensures that the finally block is executed even if an unexpec... 阅读全文
posted @ 2010-03-24 08:04 moonsnow 阅读(153) 评论(0) 推荐(0) 编辑