- 博客(15)
- 资源 (3)
- 收藏
- 关注
转载 Bug life cycle
What is Bug/Defect?Simple Wikipedia definition of Bug is: “A computer bug is an error, flaw, mistake, failure, or fault in a computer program that prevents it from working correctly or produces an incorrect result. Bugs arise from mistakes and errors, made
2010-11-27 06:24:00
818
转载 Shellcoding for Linux and Windows Tutorial
<br />with example windows and linux shellcode<br />by steve hanna<br />http://www.vividmachines.com/<br />steve./c/.hanna@gmail/.com<br />for premier computer security research check out: http://www.sigmil.org/<br /><br />Table of ContentsChange LogFreque
2010-11-03 06:09:00
4143
转载 设计模式之Factory深入研究
<br /> <br /><br /><br />今天我去市场,要决定是买水果等产品,还是选择种水果的产品。具体怎么操作自己选择。来到市场,我发现主要有一些水果:苹果(Apple),葡萄(Grape)和鸭梨(Pear)。到底买什么好呢?我一阵思量。俗话说:“饭后一只烟,赛过活神
2010-11-03 06:08:00
343
转载 深入浅出工厂模式
<br />一、引子<br /> 话说十年前,有一个暴发户,他家有三辆汽车——Benz奔驰、Bmw宝马、Audi奥迪,还雇了司机为他开车。不过,暴发户坐车时总是怪怪的:上Benz车后跟司机说“开奔驰车!”,坐上Bmw后他说“开宝马车!”,坐上Audi说“开奥迪车!”。你一定说:这人有病!直接说开车不就行了?!<br /> 而当把这个暴发户的行为放到我们程序设计中来时,会发现这是一个普遍存在的现象。幸运的是,这种有病的现象在OO(面向对象)语言中可以避免了。下面就以Java语言为基础来
2010-11-03 06:06:00
330
转载 Dutch National Flag
<br />Dijkstra used the Dutch National Flag Problem* as a structured programming exercise in program derivation and program proof. Given `N' objects coloured red, white or blue, sort them so that objects of the same colour are adjacent, with the colours in
2010-11-03 06:02:00
657
转载 Windows 7下无法使用localhost连接MYSQL5.3的解决方法
<br />在Windows 7中PHP连接Mysql时默认只能使用IP地址连接Mysql,而无法使用localhost连接Mysql,解决方法为打开C:/Windows/System32/drivers/etc下的hosts文件,将1<br /># 127.0.0.1
2010-09-02 03:24:00
1126
转载 Win7下,在IIS7中配置PHP的FastCGI支持
<br />听说现在要在IIS7下跑PHP不再用ISAPI了,现在都FastCGI了,听说FastCGI比ISAPI好,之前我在Vista下还是用ISAPI配成的PHP环境,这回换7了,在多方考查下,终于也实现了FastCGI,现把过程记录如下。<br /> 在Windows7的控制面板-程序中“打开/关闭Windows功能”,在里面打开IIS,不要忘了打开IIS里的CGI(这个默认是不选的),如下图(不自己截了,直接用微软的图):<br /> <br /> 然后就是“确定”,等着安装,接下来是PHP
2010-09-02 02:02:00
5626
转载 在Win7下配置IIS v7.0+php+mysql+zend操作环境
<br />现在不少网友都用了上win7,但对一些程序配置还是不清楚,比如在win7下配置PHP环境等,就针对此问题下面进行详细介绍。<br />(1)、采用理由:<br /><br />优点:最大化的桌面图形化操作系统,可维护性优秀。基于IIS v6.0/v7.0(2008),可以支持的脚本相当完整,不仅支持Linux无法支持的asp/asp.net,还可以安装php、mysql、zend实现php环境。同时,利用Serv-U可以实现ftp管理。操作简单,无需键入任何命令就可实现全能型主机。<br /><
2010-09-02 01:40:00
985
转载 在ASP.NET中访问SQL Server
<br />在ASP.NET中访问SQL Server数据库有两种方法,它们是System.Data.OleDb和System.Data.SqlClient。下面这段程序以System.Data.SqlClient为例访问本地数据库服务器。<br /> 首先导入名字空间:System.Data和System.Data.SqlClient。详细代码看源程序。<br /><%@ Import Namespace="System.Data" %> <br /><%@ Import Namespace="Syst
2010-07-14 05:31:00
658
转载 VMware虚拟机三种网络设置详解
vmware三种网络连接上网设置:1.bridge : 默认使用vmnet0将虚拟机的ip设置与主机同网段未使用ip,其余与主机相同:例如主机ip是10.70.54.31,设置虚拟机ip为10.70.54.22。netmask,broadcast,gateway,dns都与主机相同即可实现虚拟机主机 虚拟机互联网 通信。2.nat :默认使用vmnet8将虚拟机设置成使用dhcp方式上网,win
2010-05-21 10:42:00
651
转载 POSIX thread (pthread) libraries
Thread Basics: Thread operations include thread creation, termination, synchronization (joins,blocking), scheduling, data management and process interaction. A thread does not main
2010-05-21 10:39:00
397
转载 链表排序
==========================功能:选择排序(由小到大)返回:指向链表表头的指针==========================*//*选择排序的基本思想就是反复从还未排好序的那些节点中,选出键值(就是用它排序的字段,我们取学号num为键值)最小的节点,依次重新组合成一个链表。我认为写链表这类程序,关键是理解:head存储的是第一个节点的地址,head->next
2010-04-10 13:41:00
509
转载 Sockets Tutorial
Sockets TutorialThis is a simple tutorial on using sockets for interprocess communication. The client server modelMost interprocess communication uses the client server model. These terms
2010-04-09 03:16:00
456
转载 UDP made simple
UDP made simpleAbstract: This page describes how to write a simple UDP client/server system in a C/Unix environment. The code is explained step by step. Motivation: I needed a page like this when
2010-04-07 09:01:00
472
转载 small demo program for tunneling over UDP with tun/tap
/* * tunproxy.c --- small demo program for tunneling over UDP with tun/tap * * Copyright (C) 2003 Philippe Biondi * * This program is free software; you can redistribute it and/or modify i
2010-04-07 08:59:00
1053
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人