Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't mat...
分类:
其他好文 时间:
2014-08-08 23:52:12
阅读次数:
238
在solaris10上安装了oracle11.2.0.3的数据库,手工建库以后,发现告警日志里面有个非常有规律的报警信息,每隔76分钟报一次,报警信息如下:TueAug0503:05:182014
Timedrift
detected.PleasecheckVKTMtracefileformoredetails.
TueAug05
03:08:482014
Starting
backgroundproce..
分类:
其他好文 时间:
2014-08-08 18:28:07
阅读次数:
567
A先删除系统上的,sendmail#yumremovesendmail-yBcd/opt/
ll
wgethttp://sourceforge.net/projects/heirloom/files/latest/download?source=files
ll
du-shmailx-12.4.tar.bz2
tarjxvfmailx-12.4.tar.bz2
cdmailx-12.4
make
makeinstallUCBINSTALL=/usr/bin/install
mailx-V
vi..
分类:
系统相关 时间:
2014-08-08 16:29:46
阅读次数:
702
题目:Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2] have the following unique....
分类:
编程语言 时间:
2014-08-08 01:54:55
阅读次数:
292
监控Java对象回收的原理与实现 一.监控Java对象回收的目的监控Java对象是否回收的目的是:为了实现内存泄露报警。 内存泄露是指程序中对象生命周期(点击查看详情)已经进入不可见阶段,但由于编码错误或系统原因,仍然存在着GC roots持有或间接持有该对象的引用,导致该对象的生命周期无法继续向下流转,也就无法释放的现象。简单的来说即是:已实例化的对象长期被持有且无法释放或不能按照对象正常的生命...
分类:
编程语言 时间:
2014-08-06 22:58:52
阅读次数:
468
问题:消除数组中重复次数超过三次的多余的数分析:若ai-1==ai-2若ai也相等,则清楚aiclass Solution {public: int removeDuplicates(int A[], int n) { int i,j; for(i=2;i<n;i+...
分类:
其他好文 时间:
2014-08-06 21:41:52
阅读次数:
199
手机监控业务是把无线监控设备的视频信号通过公众无线移动通信网络传输,实现实时在线查看现场情况,不受时间和地域限制的3G新业务。用户可以随时随地主动去查看监控现场,或者当有报警信号产生的时候,也可以马上得到通知,并通过查看现场情况对报警进行确认。
手机监控系统的基本功能有:
实时报警:监控场地发生意外情况时,通过活动视频向手机报警。
主动查看:平时也可以随时随地的查...
分类:
移动开发 时间:
2014-08-05 19:28:30
阅读次数:
261
linux是一个很能自动产生文件的系统,日志、邮件、备份等。虽然现在硬盘廉价,我们可以有很多硬盘空间供这些文件浪费,让系统定时清理一些不需要的文件很有一种爽快的事情。不用你去每天惦记着是否需要清理日志,不用每天收到硬盘空间不足的报警短信,想好好休息的话,让我们把这个事情交给机器定时去执行吧。1.删除...
分类:
其他好文 时间:
2014-08-05 10:58:59
阅读次数:
151
Follow up for "Remove Duplicates": What if duplicates are allowed at most twice?For example, Given sorted array A = [1,1,1,2,2,3],Your function should...
分类:
其他好文 时间:
2014-08-05 00:24:38
阅读次数:
281
Given preorder and inorder traversal of a tree, construct the binary tree.Note: You may assume that duplicates do not exist in the tree./** * Definiti...
分类:
其他好文 时间:
2014-08-05 00:01:38
阅读次数:
271