方法1 .1在开始运行输入regedit打开注册表
2.定位到HKEY_LOCAL_MACHINE------SYSTEM------ControlSet001-------Control-------
GraphicsDrivers-------Configuration ...
分类:
其他好文 时间:
2014-05-04 11:50:46
阅读次数:
246
首先要添加引用System.Runtime.Serialization.public
class JSONHelper{ public static string Serialize(T obj) {
System.Runtime.Serialization.Json.Da...
分类:
Web程序 时间:
2014-05-04 11:27:29
阅读次数:
382
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
us...
分类:
其他好文 时间:
2014-05-04 09:30:21
阅读次数:
360
在json对象和java对象转换时
String s = "{'name':'name1','pwd':'pwd1'}";
Person p = (Person)JSONObject.toBean(JSONObject.fromObject(s), Person.class);
System.out.println(p.getPwd());
上面代码中出现以下异常:
net.sf.json.JSONException: java.lang.NoSuchMethodException...
分类:
编程语言 时间:
2014-05-04 09:05:16
阅读次数:
1650
最近重新看鸟哥,准备装CentOs,一看最新版本是6.5,书上是5.X的,略有点不同,二话不说,搞起~
我的VMware版本是10.0.1 build-1379776
先新建一个虚拟机,挂上iso文件(两个iso挂第一个就行了,另一个放在同一目录下)
启动,出现以下画面
Install or upgrade an existing system 安装或升级现有的系统
install...
分类:
其他好文 时间:
2014-05-04 09:04:44
阅读次数:
376
Over the years, people discovered the concept of
a memory hierarchy,...
分类:
其他好文 时间:
2014-05-04 09:03:17
阅读次数:
247
首先看下面这个例子
public static void main(String[] args) {
ArrayList al1 = new ArrayList();
al1.add(1);
ArrayList al2 = new ArrayList();
al2.add("hello");
//int型链表和string型链表,结果为true
System.out.p...
分类:
编程语言 时间:
2014-05-03 22:02:53
阅读次数:
376
[root@server254java]#vimOstrich.java//注意文件名必须是这个,因为下面代码中只有Ostrich是public修饰符。我们要明白public的含义classBird
{
publicvoidFly()
{
System.out.println("IambirdIcanfly");
}
}
publicclassOstrichextendsBird
{
publicvoidFly()
{
System.out.p..
分类:
编程语言 时间:
2014-05-03 20:47:18
阅读次数:
366
2014年5月1日是劳动节,是劳动人民应该休息的节日,呵呵结果这几天却是作死的节奏,天天加班到2点半,真实很辛苦呀,整个过程很艰辛但是结果是好的。1、配置LC1600链路负载均衡,首先要激活license的。在system-license-Reactivacte2、要创建VLAN,由于是联通线路、电信线路和..
分类:
其他好文 时间:
2014-05-03 20:45:55
阅读次数:
322