请看下面的一段代码:origin = {'a':100,'b':[1,2,34,5]}obj_copy ={};print origin;obj_copy['key1']= origin;obj_copy['key2']= origin;print(obj_copy)print('我们试图改变obj...
分类:
编程语言 时间:
2014-06-28 15:12:13
阅读次数:
227
判断数据库if exists(select 1 from sys.databases where name=N'[数据库名]')判断表if exists (select 1 from dbo.sysobjects where id = object_id(N'[dbo].[表名]') and obj...
分类:
数据库 时间:
2014-06-28 12:39:23
阅读次数:
251
private static object GetPropertyValue(object obj, string property) { System.Reflection.PropertyInfo propertyInfo = obj.Get...
分类:
其他好文 时间:
2014-06-28 12:19:33
阅读次数:
191
$.fn.serializeObject = function () { var obj = {}; var count = 0; $.each(this.serializeArray(), function (i, o) { ...
分类:
Web程序 时间:
2014-06-24 09:29:04
阅读次数:
319
转自:http://www.iitshare.com/ie8-not-use-native-json.html起因在项目中要将页面上的js对象传给后台,想到可以用json转成字符串传递。12var obj = {"a":1 "b":2, "c":3};var str = JSON.stringify...
分类:
Web程序 时间:
2014-06-23 07:36:06
阅读次数:
308
下载安装
下载地址
修改默认端口:
home\conf\nexus.properties
# Sonatype Nexus
# ==============
# This is the most basic configuration of Nexus.
# Jetty section
application-port=9080
applica...
分类:
其他好文 时间:
2014-06-22 19:28:44
阅读次数:
275
一介绍:
`.ARM.exidx` is the section containing information for unwinding the stack. If your C program has functions that print out a stack backtrace, the functions will likely depend on this section bei...
分类:
其他好文 时间:
2014-06-22 00:31:07
阅读次数:
618
/**
* 在List集合中众多方法中,add(int index,Object obj)方法与set(int index,Object e)方法不易区分
* ,通过下面实例,可以看出两个方法中的区别
*/
package gao;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
...
分类:
编程语言 时间:
2014-06-21 20:41:05
阅读次数:
348
1、选择时间TimePicker 监听器:OnTimeChangedListener(obj,int hour,int minute);常用:获取时:getCurrentHour()、获取分钟:getCurrentMinute();设置24小时制:setIs24HourView(true)2、日期选...
分类:
移动开发 时间:
2014-06-21 18:01:16
阅读次数:
342
Figure 1: Low latency software defined networking control loop The articles SDN and delay and Delay and stability describe the critical importance of ...