删除数据库用户的时候经常会遇到这样的错误; ORA-01940: cannot drop a user that is currently connected 原因是有程序在连接我们需要删除的用户,我们删除用户之前一定要先把连接断掉; 1、查找帐号下哪些连接在运行: SELECT SID,SERIA ...
分类:
数据库 时间:
2020-04-29 20:21:11
阅读次数:
97
"题目" For their physical fitness program, $N (2 ≤ N ≤ 1,000,000)$ cows have decided to run a relay race using the $T (2 ≤ T ≤ 100)$ cow trails througho ...
分类:
其他好文 时间:
2020-04-28 15:29:35
阅读次数:
57
#!/bin/bash # # set up a network env with 2 namespaces: # # [ vpp1 ] [vpp] [ vpp2 ] # # vpp1: 192.168.0.1 # vpp2: 192.168.0.2 ip netns delete vpp1 ip ...
分类:
其他好文 时间:
2020-04-23 12:39:24
阅读次数:
84
题目链接: "Connected Components?" Description 给定一张 $n$ 个点,$\frac{n\times (n 1)}{2} m$ 条边的无向图。 读入 $m$ 对点,表示不存在 $u$ 到 $v$ 这条边。 问这张图中有多少个连通块,并且将连通块的个数按 不降序 输 ...
分类:
其他好文 时间:
2020-04-20 20:06:12
阅读次数:
58
一、ThreadLocal是什么? 一个类对象类型,提供属线程本地变量,也就是同一个变量对不同线程保存了不同的值,但是和线程自身定义的自属变量不同。 通常以私有静态类型定义,用以保存特定线程特定状态属性。 线程存活期间保持对ThreadLocal的弱引用,线程结束后,则变量会被垃圾回收器回收。 二、 ...
分类:
其他好文 时间:
2020-04-19 00:34:53
阅读次数:
69
SpringBoot项目启动错误,错误信息如下 Connected to the target VM, address: '127.0.0.1:53101', transport: 'socket' Exception in thread "main" java.lang.NoClassDefFou ...
分类:
编程语言 时间:
2020-04-18 18:24:16
阅读次数:
135
一、服务端 import socketserver import time conn_poll = [] class MyServer(socketserver.BaseRequestHandler): def handle(self): print('... connected from {}'. ...
分类:
编程语言 时间:
2020-04-18 09:56:56
阅读次数:
62
Leetcode 1254. Number of Closed Islands Given a 2D grid consists of 0s (land) and 1s (water). An island is a maximal 4 directionally connected group o ...
分类:
其他好文 时间:
2020-04-17 22:04:59
阅读次数:
63
In the wilds far beyond lies the Land of Sacredness, which can be viewed as a tree — connected undirected graph consisting of nn nodes and n?1n?1 edge ...
分类:
其他好文 时间:
2020-04-17 00:11:27
阅读次数:
66
一, 项目文件的作用 1.Connected Services:这是存放服务引用的, 比如Web Services等。 2.Properties:项目开发的一些基本配置, 比如启动方式, 当前环境等。 3.依赖项:和.Net Framework的引用是一个意思。只不过.Net Core的引用都是基于 ...
分类:
Web程序 时间:
2020-04-16 13:09:45
阅读次数:
64