一分钟制作 BT3 U盘版方便,快捷简单无效不退款光盘版BT3,
大概694MB,直接刻盘,然后用光盘引导,就可以进入bt3,连接为:http://ftp.heanet.ie/mirrors/backtrack/bt3-final.isoU盘版Bt3,大概783MB,连接为:http://cesiu...
分类:
其他好文 时间:
2014-06-07 08:47:18
阅读次数:
245
方法1. 利用Bitmap.createBitmap Bitmap
adjustPhotoRotation(Bitmap bm, final int orientationDegree) { Matrix m = new
Matrix(); m.setRotate(...
分类:
移动开发 时间:
2014-06-06 21:59:25
阅读次数:
236
public final intgetMeasuredHeight()Added inAPI
level 1LikegetMeasuredHeightAndState(), but only returns the raw width component
(that is the result is...
分类:
移动开发 时间:
2014-06-06 09:15:59
阅读次数:
494
一、首先下载这三个工具:1、BT4正式版:下载地址:http://ftp.heanet.ie/mirrors/backtrack/bt4-pre-final.iso2、U盘启动制作工具:unetbootin-windows-356下载地址:http://www.atuonce.cn/blog/att...
分类:
Web程序 时间:
2014-06-06 06:40:25
阅读次数:
395
package com.android.filebrowser;
import java.io.*;
import java.net.*;
public class FileEncodingDetect {
static final int GB2312 = 0;
static final int ASCII = 1;
static fi...
分类:
移动开发 时间:
2014-06-04 14:11:32
阅读次数:
439
结论:1、不管有木有出现异常,finally块中代码都会执行;2、当try和catch中有return时,finally仍然会执行;3、finally是在return后面的表达式运算后执行的(此时并没有返回运算后的值,而是先把要返回的值保存起来,管finally中的代码怎么样,返回的值都不会改变,任...
分类:
其他好文 时间:
2014-06-03 15:03:33
阅读次数:
250
1.导入jar包:
hibernate-release-4.3.5.Final/lib/optional/*.jar
2.加入配置:
10
5
2
2000
2000
10
hibernate.c3p0.max_size: 数据库连接池的最大连接数
hibernate.c3p0.min_size: ...
分类:
系统相关 时间:
2014-06-03 00:53:00
阅读次数:
343
阻塞IO实现:
public class PlainEchoServer {
public void serve(int port) throws IOException {
final ServerSocket socket = new ServerSocket(port);
try {
while (true) {
final Socket clientSocket...
分类:
其他好文 时间:
2014-06-02 23:32:20
阅读次数:
357
1、定义接口
使用interface来定义一个接口。接口定义同类的定义类似,也是分为接口的声明和接口体,当中接口体由常量定义和方法定义两部分组成。定义接口的基本格式例如以下:[修饰符]
interface 接口名 [extends 父接口名列表]{[public] [static] [final]....
分类:
编程语言 时间:
2014-06-02 19:21:37
阅读次数:
193
记录一下常用的Java正则校验,以及Final Class的妙用。...
分类:
其他好文 时间:
2014-06-01 10:05:19
阅读次数:
191