自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

百川汇海

电子笔记吧~

  • 博客(6)
  • 资源 (12)
  • 收藏
  • 关注

转载 Java Properties 类读取配置文件信息

在我们平时写程序的时候,有些参数是经常改变的,而这种改变不是我们预知的。比如说我们开发了一个操作数据库的模块,在开发的时候我们连接本地的数据库那么 IP ,数据库名称,表名称,数据库主机等信息是我们本地的,要使得这个操作数据的模块具有通用性,那么以上信息就不能写死在程序里。通常我们的做法是用配置文件来解决。 各种语言都有自己所支持的配置文件类型。比如 Python ,他支持 .ini 文件。因为他内部有一个 ConfigParser 类来支持 .ini 文件的读写,根据该类提供的方法程序员可以自由的来操作

2010-07-23 22:33:00 636

原创 Debian内核编译

一、安装编译所需要的数据包<br />    apt-get install dpkg-dev fakeroot build-essential<br />    apt-get install autoconf automake libglib2.0-dev libgda2-dev gda2-mysql zlib1g-dev libssl-dev<br /> 注:使用apt-get install安装过程中,有可能出现无法下载某些 软件名.deb包,解决的方法是:先apt-cache search 包名,

2010-07-12 19:52:00 664

原创 IP地址的转换

1、Long类型的数值转换为IP地址private String getIP(long ip_long){ String hexString=Long.toHexString(ip_long); String ip = ""+Integer.parseInt(hexString.substring(0, 2),16); for(int i=2;i

2010-07-08 10:23:00 1574

原创 java中字符串转化为方法调用

将一个字符串转化为java的方法调用主要分为以下几个步骤:1、定义方法,本文示例定义了一个say的方法,该方法需要两个参数,一个是字符串的数组、一个是写文件的句柄。public void say(String[] str,PrintWriter pw){  System.out.println("hello "+str[0]+"     "+str[3]);  pw.println("hello  "+str[0]);  pw.flush();  pw.close(); }2、定义转化方法:public v

2010-07-07 13:32:00 6543 1

转载 IEEE和SCI等的通俗简介(转帖)

<br />电子类学生大都知道IEEE, 这个IEEE就像一个大的BBS论坛,而这个协会下面有很多杂志,比如图像处理,信号处理,微波技术等。这些杂志就是论坛下的分版面。每个版面有版主(主编),版副(副主编)等职务。 <br /><br />     大学里的教授负责组织人力在IEEE灌水。教授灌的水被别的论坛或版面转载或引用。这就叫坑。大牛教授挖大坑,小牛教授挖小坑。同学们就在这些大坑,小坑中灌水。水越多的坑,坑就越牛,从而挖坑的教授(坑主)名气也越大。根据挖坑的大小,和水量,IEEE 会评选出IEEE s

2010-07-06 23:16:00 740

原创 DOS/Windows和Linux/Unix间文件格式转换

<br /> <br />DOS/Windows 和Linux/Unix的文件换行回车格式不同,基于 DOS/Windows的文本文件在每一行末尾有一个 CR (回车)和 LF (换行),而 UNIX 文本只有一个换行。    1 )、把Dos/Windows 下的文件移至Linux/Unix系统<br />    虽然很多程序不在乎 DOS/Windows格式的 CR/LF文本文件,但是有几个程序却在乎——最著名的是 bash ,只要一遇到回车,它就会出问题。以下 sed调用将把 DOS/

2010-07-02 16:22:00 565

mp3标签修改

iTues导入的mp3由于属性的不同,乱七八糟的,为了修改mp3的属性可以用这个软件来修改,具体的做法参见本人的博客。

2013-10-08

The skyline Operator

@proceedings{DBLP:conf/icde/2001, editor = {Dimitrios Georgakopoulos and Alexander Buchmann}, title = {Proceedings of the 17th International Conference on Data Engineering, April 2-6, 2001, Heidelberg, Germany}, publisher = {IEEE Computer Society}, year = {2001}, isbn = {0-7695-1001-9}, bibsource = {DBLP, http://dblp.uni-trier.de} } 参考文献中运来产生synthetic Data的源代码

2012-03-23

bib convert to endnote

Once the program is running, it's dead simple. Select Open, pick a .bib file, then select Save, enter filename (.xml), exit. If there are bugs in the BibTeX file, or if some things can't be converted to EndNote (e.g. keywords), then warnings will appear in the left pane. You can preview the XML in the right pane. To import it, open EndNote, choose Import... (File menu) and select "EndNote generated XML" from the options. Then find the xml file you saved. The XML format is that used by EndNote 7, which EndNote 8 and 9 seem to understand fine. I can't guarantee it will work for other EndNotes because, frankly, EndNote's XML parser is crap (e.g. it is sensitive to the order of fields within each entry).

2012-02-24

Enhancing the Development Life Cycle to Produce Secure Software

Enhancing the Development Life Cycle benefited greatly from contributions and critiques by participants in the Software Assurance Forum. The Software Assurance Forum was established jointly by the DHS and Department of Defense (DoD) Software Assurance Programs to provide a venue in which relevant initiatives and organizations across the private sector, academia, and government agencies can collaborate and partner to improve the state of the art of software development and acquisition by shaping a comprehensive strategy that addresses people, processes, technologies, and acquisition practices throughout the software life cycle.

2011-06-26

Detection of Abrupt Changes Theory and Application

Our intended readers include engineers and researchers in the following fields :  signal processing and pattern recognition;  automatic control and supervision;  time series analysis;  applied statistics;  quality control;  condition-based maintenance and monitoring of plants. We first introduce the reader to the basic ideas using a nonformal presentation in the simplest case. Then we have tried to include the key mathematical background necessary for the design and performance evaluation of change detection algorithms. This material is usually spread out in different types of books and journals. The main goal of chapters 3 and 4 is to collect this information in a single place. These two chapters should be considered not as a small textbook, but rather as short notes that can be useful for reading the subsequent developments. At the end of each chapter, we have added a Notes and References section and a summary of the main results. We apologize for possible missing references.

2011-04-26

数据挖掘概念与技术-韩家炜

数据挖掘概念与技术,一本经典之作,知道的都说好,韩家炜。不好意思说什么了,大家看着办吧

2010-12-28

思科IPS 设备配置部署简述

很多人在使用和配置IPS系列产品中遇到很多问题,甚至怀疑系列产品的功能及作用,其实这个产品的功能及特性勿庸置疑!只是如何利用好这个强大的产品真正的帮助最终用户解决问题 才是目前的重点, 特此撰写一篇关于IPS实施部署指南的文章,供大家参加。内容中如果有错误或者疏漏请直接改正,或者通过带外方式直接联系我,希望和大家一起讨论。此文章均依照IPS 5.X 软件版本为标准起草

2010-12-27

usenix 09 会议论文全部

usenix 09 里面的论文很全,适合做计算机安全的研究人员看。。。。

2010-12-14

inet一款拓扑生成工具

Inet是密歇根大学于1999~2002年间开发的一个AS 级拓扑产生器,最新发布的是3.0版本。其特点是利用route-views.oregon-ix.net上从1997年11月到2002年2月间的大量 BGP数据来确定拓扑度量的值,可信性很高。Inet采用PLGR算法与优先附着实现幂律,重视连通性(最小节点覆盖),并针对最大团尺寸和聚类系数做了 优化。Inet使用简便,只需在命令行输入拓扑图节点总数即可。

2010-04-29

ns2对bgp协议的支持

ns2.33版本配套的ns-bgp,安装过程比较麻烦,请参考我的博客说明

2010-04-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除