#-*- coding:UTF-8 -*-#-*- author:Zahoor Wang
-*-import codecs, os, sys, platform, stringdef env():return platform.system()def
read_file(uri, charset =...
分类:
编程语言 时间:
2014-05-16 04:30:50
阅读次数:
306
Hello World //HelloWorld.java文件 public class
HelloWorld { public static void main(String[] args) { System.out.println(“Hello
World!”); } } 编译运行 javac ...
分类:
编程语言 时间:
2014-05-16 04:11:27
阅读次数:
306
很久前写的一个简单邮件发送类分享给大家: 1 using System; 2 using
System.Data; 3 using System.Configuration; 4 using System.Web; 5 using
System.Web.Security; 6 using Syste...
分类:
Web程序 时间:
2014-05-15 14:35:44
阅读次数:
387
重启交换机,按住mode键。flash_initswitch:dirflash:switch:renameflash:config.textflash:config.oldswitch:bootWouldyouliketoentertheinitialconfigurationdialog?[yes/no]:noSwitch>enSwitch#renameflash:config.oldflash:config.textDestinationfilename[config.text]..
分类:
其他好文 时间:
2014-05-15 12:46:02
阅读次数:
279
1. 在web.config文件中的<system.web>加入以下设置2.
添加一个页面,页面名称为Defalut.aspx在后台Defalut.aspx.cs页面写以下代码:protected void
Page_Load(object sender, EventArgs e){ AjaxPr....
分类:
Web程序 时间:
2014-05-15 12:04:12
阅读次数:
264
public class Test{ public static void
main(String args[]){ int i[]= new int[1]; System.out.println(i.equals(0));
}}//false...
分类:
其他好文 时间:
2014-05-15 10:03:08
阅读次数:
216
public class Test { public static void
main(String[] string){ int[] i = new int[10];
System.out.println(i.equals(null)); }...
分类:
其他好文 时间:
2014-05-15 09:54:00
阅读次数:
250
String s="32"; int i=Integer.parseInt(s);
System.out.println(i);这样没有问题 String s="3g"; int i=Integer.parseInt(s); Sy...
分类:
其他好文 时间:
2014-05-15 09:23:50
阅读次数:
234
using System;using System.Collections.Generic;using
System.Linq;using System.Text;namespace MegreSort{ class Program { static void
Main(s...
分类:
其他好文 时间:
2014-05-15 09:21:59
阅读次数:
171
做乙方的,免不了一个月去客户那里巡检一次。无非就是翻翻日志,排排错啥的。直接说场景需求吧:每月一次翻日志(三十天内),范围是application和system(也许更多),事件类型只看Error和Warning。多日志名环境,使用WMIobject来干,-filter后面接的语句是WQL标准,运算符按..
分类:
其他好文 时间:
2014-05-15 08:52:42
阅读次数:
1243