编写脚本实现在指定文件路径下查找文件夹或文件名。 脚本如下: #!/bin/sh # lazy find # GNU All-Permissive License # Copying and distribution of this file, with or without modificatio ...
分类:
系统相关 时间:
2020-08-09 09:19:05
阅读次数:
100
环境:oracle12c 1、常用字典 DBA_xxx All objects in the root or a pluggable database ALL_xxx Objects accessible by the current user in a PDB USER_xxx Objects o ...
分类:
数据库 时间:
2020-08-08 17:46:57
阅读次数:
102
一、系统配置 1、关闭sudo密码 为了避免每次使用sudo命令时都输入密码,我们可以将密码关闭。操作方法: 1、终端输?命令 sudo visudo ,打开 visudo; 2、找到 %sudo ALL=(ALL:ALL) ALL 这??修改为 %sudo ALL=(ALL:ALL) NOPASS ...
分类:
系统相关 时间:
2020-08-08 17:33:00
阅读次数:
152
1.写在前面 在开始之前,说明一下该篇中重点在union、intersection、difference、filter的实现,对于Sets类中的其他方法如newHashSet、newConcurrentHashSet、newLinkedHashSet等方法等见名知意,不做介绍。 2.阅读内容 col ...
分类:
其他好文 时间:
2020-08-06 13:14:27
阅读次数:
75
There are n cities connected by m flights. Each flight starts from city u and arrives at v with a price w. Now given all the cities and flights, toget ...
分类:
其他好文 时间:
2020-08-05 10:29:42
阅读次数:
73
union 和 union all 都可以起到连接两个查询字段相同的相同的记录的作用。 union在连接查询的两张表的时候,会自动去除 重复的数据。 union all 在连接查询的时候,只是简单的将两张表中的数据进行连接,不会去除重复的数据。 ...
分类:
数据库 时间:
2020-07-31 14:04:56
阅读次数:
104
1、查看镜像仓库里有什么镜像 yum --enablerepo="name" --disablerepo="*" --list 2、增加包后,需要重新生成repo createrepo rpm文件夹 3、如果需要清除缓存 yum clean all ...
分类:
其他好文 时间:
2020-07-31 12:30:43
阅读次数:
94
/************************ char_to_int函数 **************************/ void char_int(char* p, long int* q) //p指向要转换数组首地址 { union change { long int d; uns ...
分类:
其他好文 时间:
2020-07-30 21:55:10
阅读次数:
74
题干 Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, you are supposed to ...
分类:
其他好文 时间:
2020-07-29 21:34:20
阅读次数:
77