日期时间 date 国内时间 CST; date -u 格林尼治时间 UTC; date +%Y:%m:%d 格式化时间; date -s "21:05:00" 设置时间; clock 查看主板时间; cal 查看日历; uptime 系统启动信息; 输出、查看命令 echo:...
分类:
系统相关 时间:
2015-04-24 22:22:55
阅读次数:
256
#include
using namespace std;
#include
class Clock{
int h;
int m;
int s;
public:
void set(int hour,int min,int sec);//set(int ,int ,int )
void tick();
void show();
void run();
};
void Clock::se...
分类:
编程语言 时间:
2015-04-23 09:46:38
阅读次数:
182
This error happens in Release mode of VS2010, solve this problem by do following:.Go to Project Pages / Configuration Properties / C,C++ / Preprocesso...
分类:
其他好文 时间:
2015-04-23 02:01:44
阅读次数:
255
#include<stdio.h>
#include<time.h>
#include<math.h>
clock_tstart,stop;
doubleduration;
#defineMAXN10
#defineMAXK1e7
doublef1(intn,doublea[],doublex);
doublef2(intn,doublea[],doublex);
intmain()
{
inti;
doublea[MAXN];
for(i=0;i<MAXN;..
分类:
其他好文 时间:
2015-04-23 00:42:01
阅读次数:
138
Transform字面上就是变形,改变的意思。在CSS3中transform主要包括以下几种:旋转rotate、扭曲skew、缩放scale和移动translate以及矩阵变形matrix。下面我们一起来看看CSS3中transform的旋转rotate、扭曲skew、缩放scale和移动translate具体如何实现。...
分类:
Web程序 时间:
2015-04-22 18:23:04
阅读次数:
205
MHA 在测试手动故障转移和在线切换的过程中,碰到了2个比较诡异的问题,在使用IP地址调用的时候均无法测试成功,出现了Detected dead master xxx does not match with specified dead master以及xxx is not alive。下面是这2个错误问题的描述及解决方案。 1、MHA配置文件[root@vdbsrv4 ~]# more /etc...
分类:
其他好文 时间:
2015-04-22 11:49:57
阅读次数:
295
IT英语4-计算机英语缩写术语1、CPU3DNow!(3D no waiting,无须等待的3D处理)AAM(AMD Analyst Meeting,AMD分析家会议)ABP(Advanced Branch Prediction,高级分支预测)ACG(Aggressive Clock Gating,...
分类:
其他好文 时间:
2015-04-20 12:57:41
阅读次数:
363
分析:clock置换算法是利用循环队列来实现的。操作系统课本上的讲解时这样的
代码实现:
#include
using namespace std;
typedef struct numbernode
{
int *data;
bool *ask;//访问号
}Numnode;
typedef struct node
{
Numnode numnode;
int m...
分类:
编程语言 时间:
2015-04-19 16:17:53
阅读次数:
185
终端输入gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8','GB18030','GB2312','GBK','BIG5','CURRENT','UTF-16']"回车即可。
分类:
系统相关 时间:
2015-04-17 23:40:37
阅读次数:
240
最近cacti的图像全都是断断续续。新加的设备,图像也是这样,查看cacti 的log发现大量下面类似的错误信息:04/12/2011 03:54:37 PM - SPINE: Poller[0] Host[233] DS[4990] WARNING: SNMP timeout detected [...
分类:
其他好文 时间:
2015-04-15 18:32:55
阅读次数:
201