What ntopng can do for me? (http://www.ntop.org/products/ntop/) Sort network traffic according to many protocols Show network traffic and IPv4/v6 active hosts Store on disk persistent traffic stati...
分类:
其他好文 时间:
2015-03-19 13:27:12
阅读次数:
378
Get Ids from List<SomeObject> public?static?List<Long>?getVendorItemIds(List<VendorItemDdp>?vendorItems)?{
????return?Lists.transform(vendorItems,?indexVendorItemId());
}
public?stati...
分类:
其他好文 时间:
2015-03-17 16:08:36
阅读次数:
370
/**
* 编写函数Normalize,将复数归一化,即若复数为a+bi,
* 归一化结果为a/sqrt(a*a+b*b) + i*b/sqrt(a*a+b*b)
* 归一化结果的实部或虚部为小数的要求保留一位小数。
*/
import java.util.*;
import java.io.*;
public class 复数归一化 {
public stati...
分类:
其他好文 时间:
2015-03-17 14:17:07
阅读次数:
698
前段时间有位朋友问了我Quartz的使用,于是尝试些了个简单的例子向解释Quartz的使用 Quartz的一些基本使用 package?com.quartz;
import?static?org.quartz.CronScheduleBuilder.cronSchedule;
import?stati...
分类:
其他好文 时间:
2015-03-17 08:14:30
阅读次数:
114
public class CryptTool { // Hash an input string and return the hash as // a 32 character hexadecimal string. public stati...
分类:
编程语言 时间:
2015-03-10 10:05:51
阅读次数:
169
#define STATIC_JS_API 1
#ifdef JS_THREADSAFE
#undef JS_THREADSAFE
#endif
#include <iostream>
#include "jsapi.h"
using namespace JS;
/* spidermonkey
1.runtime
2.context
3.global object
*/
stati...
分类:
其他好文 时间:
2015-02-28 20:23:06
阅读次数:
257
不多说贴代码
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Aspose.Slides;
namespace Test
{
class Program
{
stati...
分类:
Web程序 时间:
2015-02-10 16:48:25
阅读次数:
204
#include #include #include /** some good values for block size and count*/#define BLOCK_SIZE 8192#define BLOCK_COUNT 20/** function prototypes*/ stati...
1.使用系统自带的资源文件(1)编辑Resources.resx文件,可在视图设计器中进行编辑(2)添加命名空间并设置一个别名,方便访问xmlns:props="clr-namespace:Wrox.ProCSharp.Localization.Properties"(3)使用标记扩展x:Stati...
分类:
编程语言 时间:
2015-01-30 19:13:52
阅读次数:
267
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Sort{public class Sort{////// 插入排序--稳定排序//////public stati...
分类:
编程语言 时间:
2015-01-28 17:15:07
阅读次数:
180