0

centos下adsl自动拨号设置

实现的功能:开机自动拨号、断线自动重拨一、安装的前提条件1、确保安装了网卡并工作正常使用命令#ifconfig eth0查看网卡状态2、在系统中一定不要设置默认路由(网关),让ADSL拨号后自动获得如果已经设置了默认路由,使用以下方法删除:在文件/etc/sysconfig/network/ifco...

orochihuang 发布于 2012-05-30 21:45 评论(0) 阅读(0)
0

单向链表的有关操作(链式存储结构)

⑴随机产生或键盘输入一组元素,建立一个带头结点的单向链表(无序)。⑵遍历单向链表。⑶把单向链表中元素逆置(不允许申请新的结点空间)。⑷在单向链表中删除所有的偶数元素结点。⑸编写在非递减有序链表中插入一个元素使链表元素仍有序的函数,并利用该函数建立一个非递减有序单向链表。⑹利用算法5建立两个非递减有序...

zjushuiping 发布于 2012-05-30 21:44 评论(0) 阅读(0)
0

双向链表的有关操作(链式存储结构)

⑴利用尾插法建立一个双向链表。⑵遍历双向链表。⑶实现双向链表中删除一个指定元素。⑷在非递减有序双向链表中实现插入元素e仍有序算法。⑸判断双向链表中元素是否对称若对称返回1否则返回0。⑹设元素为正整型,实现算法把所有奇数排列在偶数之前。⑺在主函数中设计一个简单的菜单调试上述算法。(4)实验四 栈和队列...

zjushuiping 发布于 2012-05-30 21:43 评论(0) 阅读(0)
0

A+B Format

Calculate a + b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less t...

zjushuiping 发布于 2012-05-30 21:42 评论(0) 阅读(0)
0

移动节点处理的通用存储过程.sql

CREATE PROC p_Move_CopyCode@TableName sysname, --调整编码规则的表名@FieldName sysname, --编码字段名@CodeRule varchar(50), --以逗号分隔的编码规则,每层编码的长度,比如1,2,3,表示有三层编码,第一层长度...

ChaunceyHao 发布于 2012-05-30 21:42 评论(0) 阅读(0)
0

PHP开发环境配置系列(一)-Apache无法启动(SSL冲突)

今天有了new task,重新捡起N年前做毕业设计时用过的PHP,记得那时是在Ubuntu上面做开发,用Dreamweaver和Gnote写php代码,那时知道 得少,也没用什么开发框架写,搭环境的时候还是apache、php、mysql逐个逐个安装和配置,不过还好使用ubuntu,apt-get后...

RYAN.D 发布于 2012-05-30 21:42 评论(0) 阅读(8)
0

java处理json例子

packagecom.test;importjava.text.ParseException;importjava.util.ArrayList;importorg.json.JSONArray;importorg.json.JSONObject;publicclassUtili{publicsta...

一舟 发布于 2012-05-30 21:41 评论(0) 阅读(2)
0

查找指定节点的所有父节点的示例函数.sql

CREATE FUNCTION f_Pid(@ID char(3))RETURNS @t_Level TABLE(ID char(3),Level int)ASBEGIN DECLARE @Level int SET @Level=1 INSERT @t_Level SELECT @ID,@Leve...

ChaunceyHao 发布于 2012-05-30 21:41 评论(0) 阅读(0)
0

A+B for Polynomials

This time, you are supposed to find A+B where A and B are two polynomials.InputEach input file contains one test case. Each case occupies 2 lines, and...

zjushuiping 发布于 2012-05-30 21:41 评论(0) 阅读(0)
0

css3 动画

@-webkit-keyframes revealin{ from{-webkit-transform:translateX(100%);} to {-webkit-transform:translateX(0);}}@-webkit-keyframes revealout{ from{-webki...

Anjey 发布于 2012-05-30 21:41 评论(0) 阅读(1)
0

Elevator

The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elev...

zjushuiping 发布于 2012-05-30 21:40 评论(0) 阅读(0)
0

Java之命令模式(Command Pattern)

先从起源说起。在设计界面时,大家可以注意到这样的一种情况,同样的菜单控件,在不同的应用环境中的功能是完全不同的;而菜单选项的某个功能可能和鼠标右键的某个功能完全一致。按照最差、最原始的设计,这些不同功能的菜单、或者右键弹出菜单是要分开来实现的,你可以想象一下,word文档上面的一排菜单要实现出多少个...

duanxz 发布于 2012-05-30 21:39 评论(0) 阅读(3)
0

安装apache,mysql,php

以下安装apache,mysql,php:yum-yinstallhttpdphpmysqlmysql-serverphp-mysqlhttpd-manualmod_sslmod_perlmod_auth_mysqlphp-mcryptphp-gdphp-xmlphp-mbstringphp-lda...

orochihuang 发布于 2012-05-30 21:37 评论(0) 阅读(0)
0

删除节点处理的通用存储过程.sql

CREATE PROC p_DeleteCode@TableName sysname, --调整编码规则的表名@FieldName sysname, --编码字段名@CodeRule varchar(50), --以逗号分隔的编码规则,每层编码的长度,比如1,2,3,表示有三层编码,第一层长度为1,...

ChaunceyHao 发布于 2012-05-30 21:36 评论(0) 阅读(2)
1

joomla的ajax应用初探讨和适用范围

越是深入学习,发现问题越来越多,今天就来说说joomla的ajax应用.由于笔者也是初步使用,文章中难免有一些错误,希望了解的朋友不厉赐教.本文joomla还是1.5版本,ajax采用的是最流行的jquery1.72版本,提交方式采用get方式,返回格式html,此处不使用json,关于json以后...

青竹博客 发布于 2012-05-30 21:36 评论(2) 阅读(255)
0

Spell It Right

Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input Specificat...

zjushuiping 发布于 2012-05-30 21:36 评论(0) 阅读(0)
0

Installing Virtualbox 4.1 on CentOS 6.2

Installing Virtualbox 4.1 on CentOS 6.2January 9, 2012This article will show you how to install VirtualBox 4.1 on a fresh installation of CentOS 6.2 L...

orochihuang 发布于 2012-05-30 21:34 评论(0) 阅读(2)
0

C++笔试题汇总【转载】

转自:http://www.cnblogs.com/wangkangluo1/archive/2011/07/22/2114006.html一.找错题试题1:voidtest1(){ charstring[10]; char*str1="0123456789"; strcpy(s...

Leajon First 发布于 2012-05-30 21:32 评论(0) 阅读(2)
0

Hello World for U

Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, "helloworld" can be printe...

zjushuiping 发布于 2012-05-30 21:30 评论(0) 阅读(1)
0

查找指定节点的所有子节点的示例函数.sql

--测试数据CREATE TABLE tb(ID char(3),PID char(3),Name nvarchar(10))INSERT tb SELECT '001',NULL ,'山东省'UNION ALL SELECT '002','0...

ChaunceyHao 发布于 2012-05-30 21:29 评论(0) 阅读(3)

推荐博客(按更新时间)

×