In the 1960s, the legendaryStanford artificial intelligence pioneer, John McCarthy, famously gave agraduate student the job of “solving” computer visi...
分类:
其他好文 时间:
2014-07-10 00:59:27
阅读次数:
249
使用Martix(android.graphics.Matrix)类中的postScale()方法结合Bitmap来实现缩放图片的功能Bitmap bmp = BitmapFactory.decodeResource(getResource(),R.drawalbe.icon1)int bmpwid...
分类:
其他好文 时间:
2014-07-07 16:00:55
阅读次数:
185
在 windows phone store app 中,判断和设置页面横竖屏的方法,与 silverlight 中的 Page 类不同,不能直接通过 Page.Orientation 进行设置。而是通过 DisplayInformation 类,方法如下:// 横屏Windows.Graphics....
分类:
移动开发 时间:
2014-06-30 15:10:47
阅读次数:
258
PNG ( Portable Network Graphics ) 格式的无损压缩和半透明特性对增强网页效果减少网页体积有着重要的作用,但由于 IE6 不支持 PNG,所以一直未能得到广泛的应用。虽然 IE7 已经支持 PNG,但目前 IE6 还是主流,怎么样让 IE6 也使用 PNG 呢?网上有相...
分类:
Web程序 时间:
2014-06-30 13:37:29
阅读次数:
202
/******************************************************************************************************************************************************************************************翻译:Mastering...
分类:
其他好文 时间:
2014-06-30 09:24:59
阅读次数:
409
【问题】
Define a procedure that takes three numbers as arguments and returns the sum of the squares of the two larger numbers.
定义一个过程,它以三个数为参数,返回其中较大的两个数的平方和。
【普通版】
(define (sum-square-largest x y ...
分类:
其他好文 时间:
2014-06-30 00:19:52
阅读次数:
270
一、下载国内比较稳定的yum源,我这里下载163的源同时我使用的是CentOS6.2的x86_64版本,所以下载的是CentOS6-Base-163.repo请根据,如下方法确认自己系统的版本[root@561~]#lsb_release-aLSBVersion::core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:..
分类:
其他好文 时间:
2014-06-29 21:14:10
阅读次数:
394
Swing圆角边框实现Swing圆角边框的实现方法:packagecom.justplay.basic;
importjava.awt.Color;
importjava.awt.Component;
importjava.awt.Graphics;
importjava.awt.Insets;
importjavax.swing.border.Border;
/**
*Swing
*设置圆角边框(可以自定义边框的颜色)
*可以为..
PalindromeTime Limit:15000MSMemory Limit:65536KTotal Submissions:3695Accepted:1338DescriptionAndy the smart computer science student was attending an ...
分类:
其他好文 时间:
2014-06-27 13:46:53
阅读次数:
296
在做ADFS部署过程中配置ADFS服务时遇到如下问题
检查系统日志错误日志如下,很明显“NT SERVICE\MSSQL$MICROSOFT##WID”这个账户不在log on as a aservice中
再来看下这个账户是要干啥,我们在服务里找到了这个账号,他需要启动Windows Internal Database 这个服务,在配置时仔细看界面的提示就知道是需要创建数据库...
分类:
数据库 时间:
2014-06-27 07:52:15
阅读次数:
235