$title=“title”$message="hello,world"[void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")$balloon = New-Object System.Windo...
分类:
其他好文 时间:
2014-06-27 12:54:43
阅读次数:
216
Given an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, wh...
分类:
其他好文 时间:
2014-06-27 12:55:53
阅读次数:
235
create index IDX_T_GPS_CPH_local on T_GPS (CPH) local;create index IDX_T_GPS_SJ_local on T_GPS (SJ) local;select * from dba_ind_partitions where index...
分类:
数据库 时间:
2014-06-27 12:55:21
阅读次数:
229
// TestABCD.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include ///////////////////////////////// Environment /////////////////////////////////////////c...
分类:
其他好文 时间:
2014-06-27 12:56:33
阅读次数:
231
最近在做一些OM Mapping的准备工作,新学了一招。 如果要将System.Data.Dbtype转换为System.Data.SqlDbType,以前以为要写Switch Case语句。其实有很简单的方法: private System.Data.SqlDbType ConvertToSqlD...
分类:
数据库 时间:
2014-06-27 12:57:18
阅读次数:
194
http://flyer2010.iteye.com/blog/1294400————————————————————————————————————————————————————————————spring mvc处理方法支持如下的返回方式:ModelAndView, Model, ModelM...
分类:
编程语言 时间:
2014-06-27 12:57:54
阅读次数:
201
背景:一个有着N多模块,N处源码,构建过程复杂的Flex项目开发中,依赖人力手工构建项目非常不现实(机械重复且枯燥无味的过程,相信哪位开发人员都会避之唯恐不及,而且对于人力是非常大的浪费),而通过使用Ant,我们可以将这些工作交给机器来做。 解决:flashbuilder 原本就支持ant构建,我们...
分类:
其他好文 时间:
2014-06-27 12:58:35
阅读次数:
271
配置解决方案的属性1.配置解决方案平台,该配置实际上修改的是解决方案目录下的sln(solution)文件。配置项目的属性1.配置项目平台及项目的目标平台:项目-右键-属性-生成(竖着第二个选项卡)可以进行配置,该配置实际上修改的是项目目录下的csproj(c sharpproject)文件。2.改...
分类:
其他好文 时间:
2014-06-27 12:59:13
阅读次数:
318
Given an array of integers, find two numbers such that they add up to a specific target number.
分类:
其他好文 时间:
2014-06-27 12:59:50
阅读次数:
176
#encoding=utf-8 print '中国' #字典的一键多值 print'方案一 list作为dict的值 值允许重复' d1={} key=1 value=2 d1.setdefault(key,[]).append(value) value=2 d...
分类:
编程语言 时间:
2014-06-27 13:00:23
阅读次数:
212
#-*-coding:utf-8-*-#====================#File:python#Author:python#Date:2014#====================__author__='Administrator'#执行环境#可调用对象"""许多的python对象都是...
分类:
编程语言 时间:
2014-06-27 13:01:47
阅读次数:
219
一、前言图形的绘制可以使用glBegin()、glEnd()之间完成,绘制的框架代码可以使用Delphi下OpenGL2d绘图(01)-初始化中的代码。修改的部份为 Draw 函数的内容。二、画点使用glPointSize 函数指定栅格化点的直径。默认为1.0,只在GL_POINTS下起作用,关于消...
分类:
其他好文 时间:
2014-06-27 13:01:02
阅读次数:
170
1.php连接mysql 存储字段含有'/'等字符,json_encode()后,'/'会变为\/,这是需要一个函数:$array=str_replace("\\/", "/", json_encode($arr));,将‘\/’替换为'/'2.去除string中html标签,strip_tags(...
分类:
Web程序 时间:
2014-06-27 13:02:23
阅读次数:
304
1. 查询空值 条件为’’ 是查不出结果的。 如果要查,应该使用 is not null 来查。 QUESTION NO: 135 View the Exhibit and examine the data in the PRODUCTS table. You need to display pro...
分类:
其他好文 时间:
2014-06-27 13:03:04
阅读次数:
251
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be ...
分类:
其他好文 时间:
2014-06-27 13:03:49
阅读次数:
136
(1)取得服务端当前时间 jquery对象.load(url,sendData,function(backData,textStatus,xhr){... ...}) load():如果无参的话,就以GET方式发送 如果有参的话,就以POST方式发送 ...
分类:
Web程序 时间:
2014-06-27 13:04:26
阅读次数:
211
http://en.wikipedia.org/wiki/SyslogSyslogis a standard forcomputer message logging. It permits separation of the software that generates messages from...
分类:
其他好文 时间:
2014-06-27 13:05:02
阅读次数:
457