CDH添加HUE时数据库连接失败 查看cloudera-scm-server日志报错信息是:ImportError: libxslt.so.1: cannot open shared object file: No such file or directory 原因是centos缺少库文件,执行如下 ...
分类:
其他好文 时间:
2021-04-22 15:53:25
阅读次数:
0
二进制水题~。 int n,m; int main() { cin>>n>>m; while(m--) { string s; cin>>s; int res=0; for(int i=0;i<s.size();i++) if(s[i] == 'n') res+=1<<(n-1-i); cout<< ...
分类:
其他好文 时间:
2021-04-22 15:39:34
阅读次数:
0
#!/usr/bin/env python # -*- coding:utf-8 _*- """ @author:zhoutao @file: 金山 V8 终端安全系统 默认弱口令漏洞.py @time: 2021/04/20 @function: """ import requests impor ...
分类:
其他好文 时间:
2021-04-22 15:22:34
阅读次数:
0
何谓方法? System.out.println(),那么它是什么呢? System是一个类,out是一个对象,println()就是一个方法,这句话的理解就是,调用System类里的一个out对象中的方法叫做println Java方法是语句的集合,它们在一起执行一个功能。(如果需要用到大量的a+ ...
分类:
编程语言 时间:
2021-04-22 15:16:19
阅读次数:
0
本人被el-upload的上传困扰了许久,查阅了不少资料,暂时是解决了 主要就是对el-upload实现上传图片的途径的不理解 先贴代码,之后在做分析吧 vue部分 <div class="pic"> <el-image class="userImg" :src="localUserImg"> <d ...
分类:
Web程序 时间:
2021-04-21 12:59:14
阅读次数:
0
ubuntu系统安装VMware Tools安装详细过程 一、安装步骤 1、打开虚拟机VMware Workstation,启动Ubuntu系统,菜单栏 - 虚拟机 - 安装VMware Tools,不启动Ubuntu系统是无法点击“安装VMware Tools”选项的,如下图: 2、如果弹出如下框 ...
分类:
系统相关 时间:
2021-04-21 12:45:15
阅读次数:
0
在/root/init.rc中添加下面内容, 开机就会执行/system/bin/boot-complete-script.sh脚本 service boot_complete_script /system/bin/boot-complete-script.sh class main oneshot ...
分类:
移动开发 时间:
2021-04-21 12:38:11
阅读次数:
0
有时我们有一个带着文件名的路径如“/home/user/file.py” 我们不要“/file.py”,只要“/home/user”这个路径。 我想到的办法 1.用.rfind()和.replace() 注意:.rfind("/")是指从字符串最后开始查找找到第一个“/”的位置,也就是该字符串最后一 ...
分类:
编程语言 时间:
2021-04-21 12:30:42
阅读次数:
0
环境: 服务器 CentOS6.7 + git(version 1.7.1) 客户端 Windows7 + git(version 2.8.4.windows.1) 1.安装 Git #yum install -y git 安装完后,查看 Git 版本 [root@localhost ~]# git ...
分类:
系统相关 时间:
2021-04-21 12:29:49
阅读次数:
0
堆排序 public class HeapSort { public static void main(String[] args) { int[] arr = {1, 3, 519, 2, 10, 8, 0, 998}; heapSort(arr); System.out.println(Arra ...
分类:
编程语言 时间:
2021-04-21 12:26:45
阅读次数:
0