五一假期后的第一天上班,无聊,做了一个简单的多文件上传,如下:using
System;using System.Collections.Generic;using System.ComponentModel;using
System.Drawing;using System.Data;using ...
分类:
其他好文 时间:
2014-05-10 02:11:14
阅读次数:
387
备注:我们对于CS数据库的操作多数情况下只是查询操作,尽量不要在数据库中直接修改记录的值第一、首先备份数据库1、进入mysql数据库[root@master~]#mysql-uroot-pEnterpassword:WelcometotheMySQLmonitor.Commandsendwith;or\g.YourMySQLconnectionidis188Serverversion:5.1.6..
分类:
数据库 时间:
2014-05-05 12:34:10
阅读次数:
1502
第一、环境软件版本CloudStack3.0.5+XenServer6.0.2硬件设备管理节点:DELLR42010.30.18.2计算节点:DELLR72010.30.18.9存储节点:DELLIBM52010.30.18.43、网络环境网段:10.30.18.0/24网关:10.30.18.1DNS:202.194.104.354、CloudStack规划物理服务器网段:10.30.18.2--10.30..
分类:
其他好文 时间:
2014-05-05 12:32:40
阅读次数:
835
eclipse版本:4.3在eclipse中搜索时,搜索完之后有时候会弹出错误对话框,错误摘录如下:Resource
is out of sync with the file
system......分析:这个问题是由于eclipse中文件不同步引起的。在eclipse中,工程文件是由eclipse...
分类:
系统相关 时间:
2014-05-05 10:51:16
阅读次数:
443
1. 文本居中
首先编写一个简单的html代码,设置一个类名为parentDiv的div对象。html代码如下:1 2 这里随意填写~... 3 1.1
实现文字水平居中(使用text-align) 对div.parentDiv设置text-align: center;来实现。CSS代码如下...
分类:
Web程序 时间:
2014-05-05 09:57:42
阅读次数:
465
出现上述错误的原因有以下几种:1) unused
pin没有设置,可能会收到外部信号的干扰;设置未用引脚为As input tri-stated with weak
pull-up.2) 系统时钟信号没有约束,或者SDRAM等存储设备的时钟没有配置正确;3) 系统复位信号没有连接外部复位开关;4) ...
分类:
其他好文 时间:
2014-05-05 09:42:07
阅读次数:
704
#include "stdafx.h"
#include
#include
#include
using namespace msclr::interop;
using namespace System;
int main(array ^args)
{
// 为了可以打印wstring到控制台
std::wcout.imbue(std::locale("chs"));
// 声明...
分类:
编程语言 时间:
2014-05-04 18:30:58
阅读次数:
418
在memory.c里面有这么一段代码。为了其中的一句话,让我内牛满面啊!
dir = (unsigned long *) ((from>>20) & 0xffc)
int free_page_tables(unsigned long from,unsigned long size)
{
unsigned long *pg_table;
unsigned long...
分类:
系统相关 时间:
2014-05-04 18:22:41
阅读次数:
459
package mytest;
import java.util.*;;
public class mymain {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.print(new Date());
Properties p=System.get...
分类:
编程语言 时间:
2014-05-04 17:52:02
阅读次数:
363
更多可参考Linux输入子系统分析input子系统架构总结1、定义一个staticstructinput_dev结构体staticstructinput_dev*mybutton_dev;2、初始化时分配input_dev结构体mybutton_dev=input_allocate_device();//分配input_dev/*能产生的事件类型
1.#defineEV_SYN0x00/*表示设备支持所..
分类:
其他好文 时间:
2014-05-04 17:38:36
阅读次数:
471