using System;using System.Data;using
System.Text;using System.Collections.Generic;using System.Reflection;using
System.Data.Common;using System.Collec...
分类:
Web程序 时间:
2014-05-10 07:27:45
阅读次数:
474
public class TestSelectSort{ public static void
main(String[] args){ int[] sortArray = new int[]{5,7,4,2,9,8,3,6};
System.out.println("before sortin.....
分类:
编程语言 时间:
2014-05-10 05:04:52
阅读次数:
322
使用工具:Eclipse Stardard 4.32版本(window7环境)
今天我们通过一个及其简单的例子来分析一个java程序是如何在我们的及其上跑起来的。部分内容是参考其他人的,会在参考的地方注明。
我的测试代码部分如下:
public class Test {
public static void main(String[] args) {
new Test()...
分类:
编程语言 时间:
2014-05-10 04:40:10
阅读次数:
414
现在又很多工具能将文字转换成图片,这样就可以发送长微博,其实python实现这很容易的,主要就是用到了pygame模块
import os
import pygame
from pygame.locals import *
pygame.init()
text = u"这是一段测试文本,test 123。"
font = pygame.font.SysFont('SimHei', 14)
...
分类:
编程语言 时间:
2014-05-10 04:25:52
阅读次数:
620
public class InsertSort{ public static void
main(String[] args){ int[] sortArray = new int[]{5,7,4,2,9,8,3,6};
System.out.println("before sorting ,t.....
分类:
编程语言 时间:
2014-05-10 03:13:15
阅读次数:
342
1、mysql_insert_id(): 重新插入一段数据,获取它的ID $id =
mysql_insert_id();2、修改数据信息:UPDATE UPDATE `topic` SET `rootid`=$id WHERE
id=$id;3、ajax效果: 一个text输入框,在里面输入一个值...
分类:
其他好文 时间:
2014-05-10 03:08:54
阅读次数:
308
今天遇到一个问题调试了很久,关于css的优先级问题.像常规的id选择器(#test) >
类选择器class(.test) > 标签选择器input (中间还有一些类型不详举了),相比大家都很清楚这次遇到就是input[type=text]
{background:red} 和 类选择器 .aa{b...
分类:
Web程序 时间:
2014-05-10 03:07:59
阅读次数:
387
/** * 转换图片成圆形 * * @param bitmap * 传入Bitmap对象 *
@return */ public static Bitmap toRoundBitmap(Bitmap bitmap)...
分类:
移动开发 时间:
2014-05-10 02:46:10
阅读次数:
436
1.兼容360浏览器 字体大小设置 开发中需要使用em单位1 font-size: 0.83em; 2
font-family: "Arial";3 -webkit-text-size-adjust: none;
分类:
Web程序 时间:
2014-05-10 02:34:08
阅读次数:
289
说明1:表示静态的关键字说明此对象在应用中只存在一份说明2:C#
是面向对象的程序设计语言,每一个函数都属于一个类。
当一个方法被声明为Static时,这个方法是一个静态方法,编译器会在编译时保留这个方法的实现。也就是说,这个方法属于类,但是不属于任何成员,不管这个类的实例是否存在,它们都会存在。就...
分类:
其他好文 时间:
2014-05-10 02:32:36
阅读次数:
275