摘要: magiclinux 启动 X服务时,死机//主要是[xfs]服务,被关闭。无关紧要的服务(6)[1] apmd --------------是高级电源管理。传统的电源管理标准,对于笔记本电脑比较有用,可以了解系统的电池电量信息。并将相关信息通过syslogd写入日志。也可以用来在电源不足时关机。[2] atd --------------要使用at 命令,你必须安装了at RPM 软件包,并且atd 服务必须在运行.at 可以让使用者指定在TIME 这个特定时刻执行某个程序或指令,TIME 的格式是HH:MM其中的HH 为小时,MM 为分钟,甚至你也可以指定am, pm, midnight, 阅读全文
posted @ 2008-01-29 21:53 陕北蜂农 阅读(145) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Collections;namespace VirtualGPS{ public class GPS { private System.Windows.Forms.Timer timer; //定时器, 模拟GPS时发送,周期间隔1S private System.IO.Ports.SerialPort serialPort; //串口 private ArrayList buf = new ArrayList(); public GPS(s 阅读全文
posted @ 2008-01-29 21:51 陕北蜂农 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 用C#实现的MD5加密算法,可以广泛用在用户密码,身份验证上面。using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;namespace yunfly{ /// <summary> /// 阅读全文
posted @ 2008-01-29 21:50 陕北蜂农 阅读(337) 评论(0) 推荐(0) 编辑
摘要: CREATE TABLE [dbo].[T_Model_Component]([ComponentID] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,[ComponentName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,[MotorModel] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,[Helper] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,[Component] [xml] NOT 阅读全文
posted @ 2008-01-29 21:47 陕北蜂农 阅读(128) 评论(0) 推荐(0) 编辑