1.关掉oracle server 和 background processes ps -ef |
grep ora 关掉数据库 shutdown immediate 2.关掉监听 lsnrctl status 如果开启的话就执行lsnrctl stop
关掉3.把$ORACLE_HOME下面的文件...
分类:
数据库 时间:
2014-05-17 04:31:36
阅读次数:
469
症状: 1. TCP/IP连接是通的。可以用ping 命令测试。2. 服务器上Oracle
Listener已经启动。 lsnrctl status 查看listener状态 lsnrctl start 启动Oracle listener3.
客户端得到的错误信息通常是:ORA-12170: ...
分类:
数据库 时间:
2014-05-17 00:10:37
阅读次数:
516
用Python和FFmpeg查找大码率的视频文件
本文使用Python2.7, 这个工作分两步
遍历文件夹下的视频文件用ffprobe获取是视频文件的码率信息
用ffprobe 获取json格式的视频信息
用ffprobe.exe是FFmpeg自带的查看视频信息的工具,其获取json格式的信息命令如下
ffprobe -v quiet -print_format json -show...
分类:
编程语言 时间:
2014-05-13 16:26:01
阅读次数:
599
A - 无耻的出题人
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 KB
(Java/Others)
Submit Status
Problem Description
听到X神要参加比赛,只会Fibnacci数的出题人被吓得哭晕在厕所。为了防止X神AK(ALL KI...
分类:
其他好文 时间:
2014-05-13 16:01:26
阅读次数:
234
在学PHP的时候,偶然发现XAMPP窗口Apache的启动出现错误,出现以下的错误提示:
9:52:41 [Apache] Attempting to start Apache app...
9:52:41 [Apache] Status change detected: running
9:52:42 [Apache] Status change detected: stoppe...
分类:
Web程序 时间:
2014-05-13 11:26:38
阅读次数:
431
// boost_time.cpp : 定义控制台应用程序的入口点。
//made by davidsu33
//2014-5-11
//the usage of posix_time
#include "stdafx.h"
#include
#include
#include
using namespace std;
#define SHOW_VARIABLE(x){ cou...
分类:
其他好文 时间:
2014-05-13 09:12:49
阅读次数:
656
create table mytest(name varchar(20),password varchar(30));
create or replace procedure sp_pro2 is
begin
insert into mytest values('fc','123');
end;
查看错误信息
show error
如何调用...
分类:
数据库 时间:
2014-05-13 07:41:24
阅读次数:
464
有时候用到Android模拟器来模拟SD卡相关操作,在Eclipse中可以直接查看SD卡目录;
首先,新建模拟器的时候要创建SD卡,存储的大小根据需要创建;
启动模拟器,在Eclipse中打开视图窗口:Window--Show View--File Explorer;
可以看到下面有mnt目录,mnt--sdcard 就是SD卡的目录,
也就是代码中 Environment...
分类:
移动开发 时间:
2014-05-12 22:38:13
阅读次数:
498
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=&problem=2459
明天省赛,所以今天做几道所谓水题,可惜这个题因为输出写错WA了很久,,,
如果直接枚举矩阵所有的位置是否改变,那么时间复杂度是承受不住的
这道题让我学到的,就是:
...
分类:
其他好文 时间:
2014-05-12 07:10:08
阅读次数:
374
内核要执行一个应用程序,唯一的途径是通过系统调用,exec函数,exec又会调用启动程序,启动程序(通常是汇编语言)以类似下面的方式调用main函数:
void exit(main(argc, argv));
那么在main函数末尾使用exit(0)和使用return 0是等价的。这里有三个正常终止程序的函数:
void exit(int status); // 先执行一些清理操作,...
分类:
其他好文 时间:
2014-05-11 20:11:19
阅读次数:
394