Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You may assume no duplicates in the array....
分类:
其他好文 时间:
2014-09-14 22:10:17
阅读次数:
146
Oracle中的ORA-01548: active rollback segment '_SYSSMU1$' found
接上文《Oracle Undo tablespace恢复(无备份)》 http://www.linuxidc.com/Linux/2014-06/103779.htm
RMAN备份与恢复之undo表空间丢失 http://www.linuxidc.com/Linux/20...
分类:
数据库 时间:
2014-09-14 18:03:47
阅读次数:
391
刚开始设置Eclipse+Cygwin在Windows下编写LinuxC程序代码,会遇到如下图的问题:解决的办法是:在执行Launcher的时候,先执行Ctrl + b,然后再执行Launcher。
分类:
系统相关 时间:
2014-09-13 21:26:25
阅读次数:
242
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:
其他好文 时间:
2014-09-13 20:01:05
阅读次数:
176
$filename = dirname(__FILE__) . '/oldfilename.jpg';$out_filename = 'newfilename.jpg';if( ! file_exists($filename)){ echo 'Not Found' . $filename; ex.....
分类:
Web程序 时间:
2014-09-13 17:15:35
阅读次数:
281
SecureCRT上传bash: rz: command not found-bash: rz: command not foundrz命令没找到?执行sz,同样也没找到。安装lrzsz:#yum -y install lrzsz现在就可以正常使用rz、sz命令上传、下载数据了。使用方法:上传文件#...
分类:
其他好文 时间:
2014-09-12 22:05:24
阅读次数:
227
linux下code::blocks无法编译运行提示 /bin/sh: 1: g++ not found 的解决办法
今天在ubuntu 12.04 软件中心中选装了codeblocks,安装完成后却连最简单的hello world 都无法编译运行。
编译时提示
/bin/sh: 1: g++: not found
运行时总提示
It seems that this...
分类:
其他好文 时间:
2014-09-12 20:45:44
阅读次数:
235
一、安装
以root用户运行:yum install wireshark
二、运行
在终端中键入命令:
#wireshark
bash:wireshark:command not found
#whereis wireshark
wireshark: /usr/lib/wireshark /usr/share/wireshark
#cd /usr/lib/wire...
分类:
系统相关 时间:
2014-09-12 17:16:03
阅读次数:
258
今天搭建spring mvc ,结果发出请求总是No mapping found for HTTP requestwith URI [******]于是开始排查了半天,后来在网上搜到了双亲上下文的概念,才知道springmvc的每一个DispatcherServlet都会产生一个WebApplica...
分类:
移动开发 时间:
2014-09-12 11:39:43
阅读次数:
210
crtmpserver默认配置中没有启用rtsp服务器,需要修改以支持。buiders/cmake/crtmpserver/crtmpserver.lua中使用普通用户启动时,会报错权限问题,问题原因有待进一步考证切换到root,启动成功。使用ffmpeg将文件虚拟成rtsp流此时rtsp流名称.....
分类:
其他好文 时间:
2014-09-12 11:28:03
阅读次数:
344