码迷,mamicode.com
首页 >  
搜索关键字:kvm system halt    ( 51873个结果
Java中 return 和finally
1. 最简单的情形 public void main(){ String s = test(); System.out.println("s=[" + s + "]"); } public String test(){ String...
分类:编程语言   时间:2014-05-26 06:43:27    阅读次数:194
Windows服务器Nginx呗占用端口无法启动的解决
Nginx突然无法运行,提示绑定0.0.0.0:80失败。1.使用 netstat -ano命令查看端口情况,得知是pid 4的进程占用80端口,但这是system进程无法结束。2.接下来,使用net stop http与Sc config http start= disabled禁用http服务,...
分类:Windows程序   时间:2014-05-26 06:41:17    阅读次数:360
.net下BerkeleyDB操作封装C#版(附单元测试)
using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Runtime.Serialization.Formatters.Binary;using System.Text...
分类:数据库   时间:2014-05-26 06:18:47    阅读次数:443
NVelocity 类操作模板
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;using System.IO;using NVelocity.App;using NVelocity...
分类:其他好文   时间:2014-05-24 13:17:32    阅读次数:198
整理常用函数
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.InteropServices;namespace WindowsAPI{class CSha...
分类:其他好文   时间:2014-05-24 12:59:58    阅读次数:366
C#泛型集合—Dictionary<K,V>使用技巧
[csharp]view plaincopy1、要使用Dictionary集合,需要导入C#泛型命名空间 System.Collections.Generic(程序集:mscorlib)2、描述 1)、从一组键(Key)到一组值(Value)的映射,每一个添加项都是由一个值及其相关连的键组成 ...
分类:其他好文   时间:2014-05-24 11:53:21    阅读次数:297
.Net性能优化时应该关注的数据
解决性能问题的时候,我往往会让客户添加下面一些计数器进行性能收集。Process object下的所有计数器;Processor object下的所有计数器;System object下的所有计数器;Memory object下的所有计数器; 在排查性能问题的时候,重点关注如下数据:一、Pro...
分类:Web程序   时间:2014-05-24 11:43:08    阅读次数:310
winform程序限制只能打开一个进程
有很多方案,先来最傻瓜式的 :static class Program { /// /// 应用程序的主入口点。 /// [STAThread] static void Main() { if(System.Diagnostics.Process....
分类:Windows程序   时间:2014-05-24 11:30:48    阅读次数:394
生成验证码的类
using System;using System.Web;using System.Drawing;using System.Web.SessionState;public class ValidateCode : IHttpHandler,IRequiresSessionState { p...
分类:其他好文   时间:2014-05-24 10:00:20    阅读次数:247
java构造方法的不同
分为有参数和无参数,还有THIS的使用方法,可用于传递给类,也可用于调用其它构造方法。public class Book { private String name; public Book(){ this("this调用有参数的构造方法"); System....
分类:编程语言   时间:2014-05-24 09:33:45    阅读次数:330
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!