ubuntu18 默认gcc7 安装低版本gcc4.9报错: 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 现在没有可用的软件包 gcc,但是它被其它的软件包引用了。 这可能意味着这个缺失的软件包可能已被废弃, 或者只能在其他发布源中找到 E: 软件包gc ...
分类:
系统相关 时间:
2020-06-17 10:42:33
阅读次数:
140
一、基本查询 创建部门表: hive (default)> create table if not exists dept( deptno int, dname string, loc int ) row format delimited fields terminated by '\t'; 创建员 ...
分类:
其他好文 时间:
2020-06-17 10:40:21
阅读次数:
45
获取连接 一个站点的页面是很多的,一开始不可能全部列举出来,于是如何发现后续的链接,是一个爬虫不可缺少的一部分 获取链接(例子): page.addTargetRequests(page.getHtml().css("div#news_div").links().regix(".*9$").all( ...
分类:
Web程序 时间:
2020-06-16 18:22:01
阅读次数:
71
1.切换到root用户下,怎么切换就不用说了吧,不会的自己百度去.2.添加sudo文件的写权限,命令是:chmod u+w /etc/sudoers3.编辑sudoers文件vi /etc/sudoers找到这行 root ALL=(ALL) ALL,在他下面添加xxx ALL=(ALL) ALL ...
分类:
其他好文 时间:
2020-06-16 18:17:50
阅读次数:
122
1.查看某张表下的触发器信息select * from all_triggers where table_name = 'DD_OILCAN_IO_POT_NO_NEW';2.查看某自增序列的信息SELECT * FROM USER_SEQUENCES WHERE SEQUENCE_NAME= 'D ...
分类:
数据库 时间:
2020-06-16 15:28:38
阅读次数:
81
效果图 直接上代码 # 独立选择每一行(在当前选中范围内) class SelectEverySingleLine(sublime_plugin.TextCommand): def run(self, edit): # self.view.run_command('select_all') # fo ...
分类:
其他好文 时间:
2020-06-16 15:13:48
阅读次数:
321
一、目录及配置文件: cd /etc/netplan vim 01-network-manager-all.yaml 二、静态ip配置方式: 01-network-manager-all.yaml.static # Let NetworkManager manage all devices on t ...
分类:
系统相关 时间:
2020-06-16 13:32:16
阅读次数:
165
1.Hive安装部署 1.Hive安装及配置 (1)把apache-hive-1.2.1-bin.tar.gz上传到linux的/opt/software目录下 (2)解压apache-hive-1.2.1-bin.tar.gz到/opt/module/目录下面 [root@hadoop102 so ...
分类:
其他好文 时间:
2020-06-16 12:47:14
阅读次数:
56
Given a tree, you are supposed to list all the leaves in the order of top down, and left to right. Input Specification: Each input file contains one t ...
分类:
编程语言 时间:
2020-06-16 12:46:45
阅读次数:
64
Repeated DNA Sequences (M) 题目 All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying D ...
分类:
其他好文 时间:
2020-06-16 10:26:45
阅读次数:
64