1,-mkdir 创建目录 Usage:hdfs dfs -mkdir [-p] < paths> 选项:-p 很像Unix mkdir -p,沿路径创建父目录。 2,-ls 查看目录下内容,包括文件名,权限,所有者,大小和修改时间 Usage:hdfs dfs -ls [-R] < args> 选 ...
分类:
其他好文 时间:
2020-08-05 18:13:32
阅读次数:
89
module.exports = { dev: { // Paths assetsSubDirectory: 'static', assetsPublicPath: '/', proxyTable: { //只能在开发环境下进行跨域,上线要进行反向代理nginx设置 '/appstore': { t ...
分类:
其他好文 时间:
2020-08-04 11:28:04
阅读次数:
114
unique unique函数的函数原型如下: 1.只有两个参数,且参数类型都是迭代器: 1 iterator unique(iterator it_1,iterator it_2); 这种类型的unique函数是我们最常用的形式。其中这两个参数表示对容器中[it_1,it_2)范围的元素进行去重( ...
分类:
其他好文 时间:
2020-08-01 21:36:37
阅读次数:
101
一、MySQL概述 1.1、MySQL文件含义 通过如下命令查看 show variables like '%dir%'; MySQL文件位置及含义 名称 值 备注 basedir /usr/ 安装路径 character_sets_dir /usr/share/mysql-8.0/charsets ...
分类:
数据库 时间:
2020-08-01 09:21:55
阅读次数:
110
属性和方法 DataFrame有许多的的属性和方法使得pabdas用起来非常的快捷简便。 导入数据: 1 import pandas as pd 2 import numpy as np 3 from pandas import Series,DataFrame 4 test=pd.read_exc ...
分类:
其他好文 时间:
2020-07-30 14:47:20
阅读次数:
103
本题 题目链接 题目描述 我的题解 二分法 思路分析 排序数组中的搜索问题,首先想到二分法 当nums[center] > center 时,缺少的数在左区间 当nums[center] = center 时,缺少的数在右区间 代码如下 public int missingNumber(int[] ...
分类:
其他好文 时间:
2020-07-29 21:22:09
阅读次数:
74
https://www.luogu.com.cn/problem/P2005 高精度除法 模板题,居然发现还没填上小学时高精除高精的坑(一定是我太菜了) 用减法模拟除法,只要大于除数,就暴力减,这一位的$ans++$ \(C++ Code:\) #include<cstdio> #include<i ...
分类:
其他好文 时间:
2020-07-29 21:16:06
阅读次数:
54
本题 题目链接 题目描述 我的题解 方法一:使用库函数 s.substring() 代码如下 public String reverseLeftWords(String s, int n) { return s.substring(n, s.length()) + s.substring(0, n) ...
分类:
其他好文 时间:
2020-07-29 12:40:19
阅读次数:
71
Princess CJB has lived almost her entire life in the isolated town of Ertona, where CJB uses her unique ability to recognize where crystals of materia ...
分类:
其他好文 时间:
2020-07-28 22:14:42
阅读次数:
73
两个数组的交集 II 给定两个数组,编写一个函数来计算它们的交集。 示例 1: 输入:nums1 = [1,2,2,1], nums2 = [2,2] 输出:[2,2] 示例 2: 输入:nums1 = [4,9,5], nums2 = [9,4,9,8,4] 输出:[4,9]这道题的解题思路就是, ...
分类:
编程语言 时间:
2020-07-28 14:44:10
阅读次数:
97