void CNumEdit::OnRButtonDown(UINT nFlags, CPoint point){ // TODO: 在此添加消息处理程序代码和/或调用默认值 //CEdit::OnRButtonDown(nFlags, point); //弹出菜单//定义一个菜单类 CMenu po...
分类:
其他好文 时间:
2014-07-14 09:46:04
阅读次数:
220
CSliderCtrl(滑块)控件CSliderCtrl常用属性CSliderCtrl类常用成员函数CSliderCtrl运用示例一、CSliderCtr常用属性Orientation 水平,还是垂直Point 滑块样式Tooltips 刻度提示 //由于视频录制软件的问题,这个无法在视频上显示出来...
分类:
其他好文 时间:
2014-07-14 00:41:13
阅读次数:
970
自动清除firefox缓存1.在firefox的地址栏上输入about:config回车2.找到browser.cache.check_doc_frequency选项,双击将3改成1保存即可。选项每个值都是什么含义的。请看下面的解释:0: Once per session 每个进程一次 每次启动Fi...
分类:
其他好文 时间:
2014-07-13 22:51:53
阅读次数:
280
Implement a function to check if a binary tree is a binary search tree./* The inorder travel of a BST is strictly increasing. We track the pre node of...
分类:
其他好文 时间:
2014-07-13 22:27:09
阅读次数:
344
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:...
分类:
其他好文 时间:
2014-07-13 17:13:49
阅读次数:
213
前言:nagios界面上,看到监控mysql服务报错如下:Warning:NRPE: Unable to read output 1,去nagios监控服务器上check下1.1,执行check_nrpe命令远程调用在监控端nagios服务器上执行check_nrpe检查mysql状态报错如下:[root@mysqlvm2 ~]# /usr/lib/nagios/plugins/check_nr...
分类:
移动开发 时间:
2014-07-13 16:40:37
阅读次数:
232
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal if they are structurally identical and the nodes have the same value.
/**
* Defin...
分类:
其他好文 时间:
2014-07-13 15:50:25
阅读次数:
158
1.先用表格列举一下我的监控对象和阀值:监控对象监控阀值主机资源主机存活:check_ping-w3000.0,80%-c5000.0,100%-p5(3000毫秒响应时间内,丢包率超过80%报警告,5000毫秒响应时间内,丢包率超过100%报危急,一共发送5个包)登录用户:check_user-w5-c10(w为警告,c为危急)系..
分类:
移动开发 时间:
2014-07-13 14:38:23
阅读次数:
587
mapper文件的写法为:(模糊查询,查询时间段)
and sc.com_name like CONCAT(CONCAT('%',#{com_name}),'%')
= DATE_FORMAT(#{check...
分类:
数据库 时间:
2014-07-12 17:43:38
阅读次数:
247
1onclick="this.src=this.src+'?'"这是表示当前图片链接在当前链接值的基础上添加了一个问号譬如当前src="check.aspx",点击后就变成了"check.aspx?",继续点就会变成"check.aspx?????"......这个问号是没有实际意义的,它唯一的作用...
分类:
其他好文 时间:
2014-07-12 15:30:05
阅读次数:
201