此错误的原因是:你的数据库服务器中存在同名数据库!RESTORE DATABASE [student] FROM DISK = N'G:\备份文件' WITH FILE = 1, MOVE N'student' TO N'G:\student.mdf', MOVE N'student_log' TO...
分类:
数据库 时间:
2015-06-11 01:42:50
阅读次数:
471
Dataguard备库恢复时报rman-05501RMAN>duplicatetargetdatabaseforstandby;StartingDuplicateDbat09-JUN-15allocatedchannel:ORA_AUX_DISK_1channelORA_AUX_DISK_1:SID=345devicetype=DISKcontentsofMemoryScript:{restoreclonestandbycontrolfile;}executingMemoryScriptSt..
分类:
其他好文 时间:
2015-06-11 00:21:35
阅读次数:
247
今天发现vps敲入crontab -e 居然提示 “Disk quota exceeded” 无法编辑。于是"df -h"查了查发现系统磁盘空间使用100%了。最后定位到是/var/spool/mail/root 这个文件有几个G。于是清理掉,问题解决。如果不知道是哪些文件占了磁盘空间,可以看下面查...
分类:
其他好文 时间:
2015-06-11 00:08:17
阅读次数:
161
win7是这样启动的: BIOS-->MBR(硬盘主引导记录Master Boot Record 占446bytes)-->DPT(分区表 Disk Partition Table 占64bytes)-->pbr(硬盘分区引导记录 partition boot record)--> Bootmgr....
题解:
如题。先算出那个分数值,然后看有哪些人还与源点相连。
最小割建图:原图每个点对应一个点,原图每条边对应一个点。每条边对应点向两端点对应点连边,注意要单向边。
这道题卡精度:
所以一些细节问题扒代码吧Qwq
eps:1e-5
因为是double网络流,所以二分上界别太大,边数就好。
代码:
#include
#include
#include
#include...
分类:
其他好文 时间:
2015-06-10 10:28:04
阅读次数:
161
简介:Time Machine这个工具,是直接备份硬盘上的内容。所以,它是直接有备份系统的。准备:1、准备一个移动硬盘,存贮空间大于你需要备份系统空间操作流程:1. 用Disk Utility工具将移动硬盘分区成你需要的空间。Disk Utility -> 选择移动硬盘 -> Partition, ...
分类:
系统相关 时间:
2015-06-09 19:26:37
阅读次数:
240
1、 提示windows 无法安装到这个磁盘,选中的磁盘具有MBR分区表。Windows cannot be installed to this disk.the selected disk has an MBR patition table2、 在此界面上按Shift + F10,打开CMD窗口输...
#!/bin/bash
#author:suxinghe
#date:2015.6.9
#version:0.0.1
#description:createpartionsfordisk
read-p"pleaseinputadiskname:"disk
while:
do
if[[$disk=~/dev/*]]
then
if[-b$disk]
then
read-p"yourchoiceare$disk,areyousure?(yes/no):"ans1
if[$ans1==ye..
分类:
系统相关 时间:
2015-06-09 14:04:26
阅读次数:
158
下面的项目是《Learn PYTHON the hard way》里面的,以后可能会补充:1.Django,创建web程序的框架:https://www.djangoproject.com/2.Scipy,是一款方便、易于使用、专为科学和工程设计的Python工具包.它包括统计,优化,整合,线性代数...
分类:
编程语言 时间:
2015-06-08 21:14:27
阅读次数:
186
Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complet...
分类:
编程语言 时间:
2015-06-06 22:05:00
阅读次数:
169